Bug #51316 [NEW]: Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.li

From: Date: Wed, 17 Mar 2010 21:16:00 +0000
Subject: Bug #51316 [NEW]: Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.li
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148728@lists.php.net to get a copy of this message
From:             
Operating system: Solaris
PHP version:      5.3.2
Package:          Compile Failure
Bug Type:         Bug
Bug description:Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.li

Description:
------------
Estoy intentando compilar php con mysql de la siguiente forma:

tar -xvf php-5.3.2.tar
cd php-5.3.2

export 
PATH=/usr/local/ssl/bin/:/aplicaciones/mysql5136/bin:/aplicaciones/mysql5136/:/l
ib/:/usr/local/:/aplicaciones/libxml2-
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/:/usr/s
fw/lib:/usr/lib/:/usr/local/include/:/opt/sfw/lib/:/usr/local/lib/

export 
LD_LIBRARY_PATH=/usr/local/ssl/lib/:/aplicaciones/mysql5136/lib/:/aplicaciones/m
ysql5136/:/lib/:/usr/local/:/aplicaciones/libxml2-
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/:/usr/s
fw/lib:/usr/lib/:/usr/local/include/:/opt/sfw/lib/:/usr/local/lib/


./configure --prefix=/aplicaciones/phpPrueba  --with-
apxs2=/aplicaciones/apachePrueba/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/phpPrueba
--with-
freetype-dir=/aplicaciones/freetype-2.3.1 --with-openssl=/usr/local/ssl --
enable-soap --with-mysql=/aplicaciones/mysql5136/ --with-readline
--enable-
sockets

make

pero me presenta el siguiente error: 

Undefined first referenced symbol in file 
mysql_set_character_set             ext/mysql/.libs/php_mysql.o
mysql_set_server_option             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'

si elimino la opcion --with-mysql=/aplicaciones/mysql5136/ 
compila sin problema, pero no me sirve porque necesito el mysql


-- 
Edit bug report at http://bugs.php.net/bug.php?id=51316&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=51316&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=51316&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=51316&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=51316&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51316&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=51316&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=51316&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=51316&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=51316&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=51316&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=51316&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=51316&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=51316&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=51316&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51316&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51316&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=51316&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=51316&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=51316&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=51316&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=51316&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#148728) next »