Jump to content


Photo

Cannot load libphp5.so: undefined symbol: _zend_list_delete


  • Please log in to reply
1 reply to this topic

#1 gopporo

gopporo
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 10 April 2006 - 11:31 AM

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???


#2 random_user

random_user
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 May 2006 - 11:54 PM

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) View Post[/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]





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users