Bug #14452 Updated: libphp4.so is not linking with *.la files

From: Date: Fri, 07 Jun 2002 16:03:05 +0000
Subject: Bug #14452 Updated: libphp4.so is not linking with *.la files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9772@lists.php.net to get a copy of this message
ID: 14452 Updated by: glen@designsolution.co.uk Reported By: glen@designsolution.co.uk -Status: Feedback +Status: Open Bug Type: *Configuration Issues Operating System: Linux PHP Version: 4.2.1 New Comment: As I have mentioned above, PHP does not seem to compile correctly with static libtool libraries. I have static MySQL and MCAL libraries, and PHP fails to link to either. PHP 4.0.6 worked, but nothing since has. Previous Comments: ------------------------------------------------------------------------ [2002-06-07 07:35:52] sniper@php.net Please give more information what the actual problem is. Is the problem only with '--with-mcal' ?? ------------------------------------------------------------------------ [2002-06-07 04:14:56] glen@designsolution.co.uk Still not working with 4.2.1. This is particurlarly problematic with MCAL which only compiles as a static library. ------------------------------------------------------------------------ [2002-06-06 20:51:44] sniper@php.net Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [2002-01-02 11:30:28] glen@designsolution.co.uk I have sucessfully linked PHP4.1.1 to static libtool libraries with the following method: 1. ./configure in the 4.0.6 source directory 2. ./configure in the 4.1.1 source directory 3. copy the libtool from 4.0.6 to the 4.1.1 direcory 4. make 5. make install Obviously this is a little messy, but it does seem to work sucessfully. Regards, Glen ------------------------------------------------------------------------ [2001-12-14 04:14:09] glen@designsolution.co.uk MySQL was installed from RPM's a while ago: MySQL-3.22.21-2C1 MySQL-client-3.22.21-2C1 MySQL-devel-3.22.21-2C1 The system is a Cobalt Qube 2: Linux qube.dessol 2.0.34C51_SK #1 Mon Nov 29 07:59:59 CET 1999 mips unknown By the way, I also tried linking with libmcal.a which is installed in /usr/local/mcal/lib/. I used the configuration option --with-mcal=/usr/local/mcal and configuration/compiling/installing went fine. However, when restarting Apache, I get: Cannot load /usr/lib/apache/libphp4.so into server: /usr/ lib/apache/libphp4.so: undefined symbol: mcal_close I don't know what's going on here, but it seems the *.a files are not being linked to correctly? There was no such problems with the 4.0.6 release which I compilied with MySQL and MCAL support with no problems. Thanks. ------------------------------------------------------------------------ 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/14452 -- Edit this bug report at http://bugs.php.net/?id=14452&edit=1

« previous php.bugs (#9772) next »