#38451 [Opn->Fbk]: PDO_MYSQL breaks compilation

From: Date: Mon, 14 Aug 2006 15:04:09 +0000
Subject: #38451 [Opn->Fbk]: PDO_MYSQL breaks compilation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100773@lists.php.net to get a copy of this message
ID: 38451 Updated by: tony2001@php.net Reported By: terry dot cullen at uq dot edu dot au -Status: Open +Status: Feedback Bug Type: PDO related Operating System: Solaris 10 x86 PHP Version: 5.1.4 New Comment: Are you sure the ld binary used for the build is GNU ? Previous Comments: ------------------------------------------------------------------------ [2006-08-14 14:57:21] terry dot cullen at uq dot edu dot au Sadly, make failed again. PATH='/opt/local/gcc/bin:/opt/local/php5/bin:/opt/local/perl/bin:/opt/local/mysql/mysql/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/usr/bin/nsr:/usr/sbin/nsr:/usr/openwin/bin:/opt/csw/bin:/usr/sfw/bin:/usr/bin' CFLAGS='-O3 -fPIC -L/opt/csw/lib' \ CPPFLAGS='-I/opt/csw/include -I/usr/include' \ LDFLAGS='-Wl,-rpath-link=/lib:/usr/lib:/opt/csw/lib:/opt/local/mysql/mysql/lib:/opt/local/mysql/mysql:/usr/sfw/lib:/opt/local/oracle/10103_client:/opt/local/oracle/10103_client/lib' export CFLAGS CPPFLAGS LDFLAGS PATH './configure' \ '--prefix=/opt/local/php5' \ '--with-apxs2=/opt/local/apache/bin/apxs' \ '--enable-safe-mode' \ '--with-exec-dir=/opt/local/php5/bin' \ '--enable-bcmath' \ '--enable-gd-native-ttf' \ '--enable-soap' \ '--enable-sockets' \ '--disable-rpath' \ '--enable-ftp' \ '--with-gd' \ '--with-gettext' \ '--with-imap=/src/Web/IMap/imap-2004g' \ '--with-imap-ssl=/src/Web/IMap/imap-2004g' \ '--with-jpeg-dir=/usr/lib/amd64/' \ '--with-ldap=/usr' \ '--with-mcrypt=/opt/local' \ '--with-png-dir=/usr/lib/amd64/' \ '--with-pspell=/usr' \ '--with-openssl=/opt/csw' \ '--with-zlib' \ '--with-libxml-dir=/opt/csw' \ '--with-mysql=/opt/local/mysql/mysql' \ '--with-oci8=/opt/local/oracle/10103_client' \ '--with-xpm-dir=/usr/lib' \ '--enable-memory-limit' \ '--with-gdbm=/opt/csw' \ '--with-db4=/opt/csw/bdb4' \ '--with-mhash=/opt/local/mhash' \ '--with-curl=/opt/local/curl' \ '--with-pear=/opt/local/php5' \ '--enable-pdo=shared' \ '--with-pdo-sqlite=shared' \ '--with-sqlite=shared' \ '--with-mbstring' \ '--with-mysqli=/opt/local/mysql/mysql/bin/mysql_config' \ '--with-pdo-mysql=shared,/opt/local/mysql/mysql' \ '--with-gnu-ld' \ '--with-ld=/usr/sfw/i386-sun-solaris2.10/bin/ld' with; gcc: ext/pdo_mysql/.libs/pdo_mysql.o: No such file or directory gcc: ext/pdo_mysql/.libs/mysql_driver.o: No such file or directory gcc: ext/pdo_mysql/.libs/mysql_statement.o: No such file or directory gmake: *** [ext/pdo_mysql/pdo_mysql.la] Error 1 ------------------------------------------------------------------------ [2006-08-14 14:36:06] tony2001@php.net Please install and use GNU ld. ------------------------------------------------------------------------ [2006-08-14 14:26:42] terry dot cullen at uq dot edu dot au php5.2-200608141230 from snap.php.net fails in the same way. Thanks for looking at this. Terry ------------------------------------------------------------------------ [2006-08-14 14:23:00] terry dot cullen at uq dot edu dot au bash-3.00# ld -V ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.482 ------------------------------------------------------------------------ [2006-08-14 14:09:45] tony2001@php.net Which ld version did you use? ld -v ------------------------------------------------------------------------ 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/38451 -- Edit this bug report at http://bugs.php.net/?id=38451&edit=1

« previous php.bugs (#100773) next »