?
Solved

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

Posted on 2009-04-23
3
Medium Priority
?
2,483 Views
Last Modified: 2013-12-13
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
0
Comment
Question by:papfal
  • 3
3 Comments
 

Author Comment

by:papfal
ID: 24215345
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

0
 

Author Comment

by:papfal
ID: 24216339
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
0
 

Accepted Solution

by:
papfal earned 0 total points
ID: 24224288
I dont understand why i dont have at least a little response since 3 days.
May be I miss something so you can just tell me if i am wasting my time ...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question