ID: 24130 Comment by: bfoddy at visi dot com Reported By: gk at online dot dp dot ua Status: Bogus Bug Type: Compile Failure Operating System: Red Hat Linux 9 PHP Version: 4.3.2 New Comment:
If I may jump in here, I think there is more to this, or at least a reasonable workaround is available... I remember seeing this several Linux versions ago, but it took me a while to remember how to get around it. But I thought it could because sqsh (www.sqsh.org) compiles and runs just fine on Linux, so why not PHP? Problem: The libtool is converting the -lintl into /usr/lib/libintl.so in the output stream, you can see this by putting set -x in the start of libtool. If you take the exact gcc command it tries to execute at link time and replace /usr/lib/libintl.so (towards the end of the command) with the original intended -lintl that is given to libtool, php will link and execute correctly. Sybase includes its own libintl.so and making this change seems to allow its inclusion over the that in /usr/lib I'm running this on Mandrake 9.1 (glib 2.3.1 same as RH9) and Sybase Open Client 11.1.1 (the standard 11.9.2 OC). My config was ./configure --with-sybase-ct=/opt/sybase-11.9.2 --with-mysql Hope this helps. Previous Comments: ------------------------------------------------------------------------ [2003-06-11 12:26:14] [EMAIL PROTECTED] See bug #23884 ------------------------------------------------------------------------ [2003-06-11 12:17:56] gk at online dot dp dot ua Configure: './configure' \ '--with-apxs=/usr/local/apache/bin/apxs' \ '--with-sybase-ct=/opt/sybase-11.9.2' \ '--enable-track-vars' \ '--with-mysql' After make: /php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is dangerous, better use `mkstemp' /opt/sybase-11.9.2/lib/libintl.so: undefined reference to `__ctype_b' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 also this error return with configure --with-sybase= ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24130&edit=1