Jump to content

Archived

This topic is now archived and is closed to further replies.

gopporo

Cannot load libphp5.so: undefined symbol: _zend_list_delete

Recommended Posts

I recently upgraded my MySQL to 5.0.19 and wanted to configure them in php.

i intaled from rpm :

MySQL-client-standard-5.0.19-0
MySQL-devel-standard-5.0.19-0
MySQL-server-standard-5.0.19-0
MySQL-shared-compat-5.0.19-0

then i tried to get them to work with php-5.1.1 so i did a

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mcrypt --with-mysql
make
make install

but whe i tried to start php i got the folowing error :

Syntax error on line 233 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: _zend_list_delete

can anybodey thell me what i have done rong or what do i have to do to fix this???

Share this post


Link to post
Share on other sites
hi.
there may be some problem with the path to libc and other libs on your system.
per default php5 s configure script uses /usr/local/lib.
you might want to add some --libdir=/usr/lib to your ./configure
like
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mcrypt --with-mysql --libdir=/usr/lib

to be sure it uses the new path do some
make clean
make distclean
before recompiling.

if /usr/lib doesent work you may look for your systems default library direcotry :)


[!--quoteo(post=363267:date=Apr 10 2006, 06:31 PM:name=gopporo)--][div class=\'quotetop\']QUOTE(gopporo @ Apr 10 2006, 06:31 PM) [snapback]363267[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I recently upgraded my MySQL to 5.0.19 and wanted to configure them in php.

i intaled from rpm :

MySQL-client-standard-5.0.19-0
MySQL-devel-standard-5.0.19-0
MySQL-server-standard-5.0.19-0
MySQL-shared-compat-5.0.19-0

then i tried to get them to work with php-5.1.1 so i did a

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mcrypt --with-mysql
make
make install

but whe i tried to start php i got the folowing error :

Syntax error on line 233 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: _zend_list_delete

can anybodey thell me what i have done rong or what do i have to do to fix this???
[/quote]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.