Link to home
Start Free TrialLog in
Avatar of Seydina Fall
Seydina Fall

asked on

Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error:

Hi,

I am installing PHP 2.2.9 on SUN Solaris 10 with apache 2.2.9 and perl 5.8.8.
Everything seems to be good unless PHP Configuration.
I did those commands below :
./configure --with-oracle=/u01/app/product/10203
--with-oci8=/u01/app/oracle/product/10203
--prefix /usr/local
--with-apxs2=/usr/local/apache2/bin/apxs
--with-mssql=/usr/local
make
make install

I did'nt have any fatal error message until the end.
But I get error this messge error when trying to start apache :

httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp5.so: symbol xmlTextReaderSetup: referenced symbol not found

I've installed libxml2 yet.
Can you help me to find ?

Thanks for tour reply
Avatar of Seydina Fall
Seydina Fall

ASKER

I download the package from sunfreeware site and did pkgadd -d <package>.
After I tried to start Apache and got this new error message :

httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: /usr/local/apache2/modules/libphp5.so: wrong ELF data format: ELFDATA2LSB

Thank you for your ASAP reply

Just to say dont mind the last message. My package was wrong. I still have the first message error :

httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp5.so: symbol xmlTextReaderSetup: referenced symbol not found

I need a reply as soon as possible.
Thanks to you
ASKER CERTIFIED SOLUTION
Avatar of Seydina Fall
Seydina Fall

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial