ID: 14452
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: *Configuration Issues
Operating System: Linux
PHP Version: 4.1.0
New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2001-12-13 23:55:23] [EMAIL PROTECTED]

How exactly did you configure/compile/install Mysql ?
And what linux distribution is this ?

--Jani


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

[2001-12-13 06:18:31] [EMAIL PROTECTED]

I deleted the libmysqlclient.la file from /usr/lib/mysql 
and tried re-compiling, but still got the same error.

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

[2001-12-12 12:45:29] [EMAIL PROTECTED]

I guess you're getting the libtool bug I noticed myself too.
Try deleting the .la file.
 
--Jani


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

[2001-12-12 07:47:06] [EMAIL PROTECTED]

I have configured PHP with the following options:

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr

/usr/lib/mysql contains libmyclient.a and libmyclient.sa.  
Configuration and make goes fine, though I get the 
following warning:

*** Warning: This library needs some functionality provided 
by /usr/lib/mysql/libmysqlclient.la.
*** I have the capability to make that library 
automatically link in when
*** you link to this library.  But I can only do this if 
you have a
*** shared version of the library, which you do not appear 
to have.

Install goes fine, but when I restart Apache ( 1.3.3 ), I 
get the following error:

Cannot load /usr/lib/apache/libphp4.so into server: /usr/
lib/apache/libphp4.so: undefined symbol: mysql_free_result

PHP 4.0.6 compiled from source and ran with no such 
problems.
 

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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to