Bug #51316 [Asn->Csd]: Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.li

From: Date: Thu, 28 Oct 2010 07:34:43 +0000
Subject: Bug #51316 [Asn->Csd]: Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.li
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155591@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51316&edit=1

 ID:                 51316
 Updated by:         uw@php.net
 Reported by:        andressucer at gmail dot com
 Summary:            Undefined first referenced symbol in file
                     mysql_set_character_set ext/mysql/.li
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Solaris
 PHP Version:        5.3.2
 Assigned To:        mysql
 Block user comment: N

 New Comment:

If I'm not mistaken the reporter says the problem is solved. Closing.


Previous Comments:
------------------------------------------------------------------------
[2010-09-30 17:40:41] andressucer at gmail dot com

thank you Adrian
the problem was solved
the installation was successfully completed
with the following configuration:


export 
PATH=/aplicaciones/pgsql843:/usr/local/:/aplicaciones/mysql5136/:/aplicaciones/l
ibxml2-
2.6.31/:/aplicaciones/zlib/lib/:/usr/local/lib/:/usr/ccs/bin/:/usr/sfw/bin/:/usr
/sbin/:/usr/bin/:/bin:/sbin/:/usr/local/bin:/opt/csw/bin:/usr/sfw/bin
export 
LD_LIBRARY_PATH=/usr/local/:/aplicaciones/mysql5136/:/aplicaciones/zlib/lib/:/us
r/local/lib/:/usr/lib/:/lib/:/usr/local/include/:/aplicaciones/libxml2-
2.6.31/:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib

./configure --prefix=/aplicaciones/phpmysql
-with-mysql=/aplicaciones/mysql5136/ 
--with-apxs2=/aplicaciones/apachemysql/bin/apxs --with-
pgsql=/aplicaciones/pgsql843 --enable-ftp  --enable-mbstring  --with-
gd=/aplicaciones/gd-2.0.35 --with-jpeg-dir=/aplicaciones/jpeg-6b
--with-
zlib=/aplicaciones/zlib --with-curl=/aplicaciones/curl
--with-config-file-
path=/aplicaciones/phpmysql
--with-freetype-dir=/aplicaciones/freetype-2.3.1 --
with-openssl=/aplicaciones/openssl --enable-soap  --with-readline
--with-xmlrpc 
--enable-zip --with-pear --enable-sockets --with-ttf

make
make install

------------------------------------------------------------------------
[2010-09-29 22:08:24] lobosoli at gmail dot com

If you have solaris 10, you have to remove the mysql of the system with
this 
commands

pkgrm SUNWmysqlr
pkgrm SUNWmysqlt
pkgrm SUNWmysqlu

------------------------------------------------------------------------
[2010-04-16 18:20:01] progmanpaul at gmail dot com

If you omit --with-openssl then the GD Lib portion fails because it
requires libssl - FYI.

------------------------------------------------------------------------
[2010-03-31 03:33:40] gene at neckosoft dot com

I have the same problem. Here's my configure options:

./configure --prefix=/apps/local/phpdev  --with-curl=/apps/local/curl
--with-openssl=/apps/local/openssl \
--with-mysql=/apps/local/mysql-5.1.45-solaris10-sparc
--with-apxs2=/usr/apache2/bin/apxs -–with-readline=/opt/sfw

and here's the error I am getting:

Undefined                       first referenced
 symbol                             in file
mysql_set_character_set             ext/mysql/.libs/php_mysql.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'

------------------------------------------------------------------------
[2010-03-21 20:48:09] hholzgra@php.net

Does this also happen when not using -with-openssl ?

Seems to be similar to 

  http://www.phpfreaks.com/forums/index.php?topic=170577.0

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=51316


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51316&edit=1


Thread (8 messages)

« previous php.bugs (#155591) next »