| | |
Relocation Error
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 3
Reputation:
Solved Threads: 0
Hi
I'm relatively new to Unix and after setting up PHP5, I was unable to start the Apache Server. The error below was reported:-
httpd: Syntax error on line 53 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 have been reading alot of forum post about relocation error. From what I understood, the problem file is ld.so.1 and the symbol xmlTextReaderSetup could not be found, most likely because the link is incorrect. I did used the ldd command but I have no idea how to even start or even how to find the symbol.
The other thing worth noting is that the server I am working on currently have Apache running with MySQL and PHP 5.2.4 (What I am installing is 5.2.5). All software in this server was installed using source packages so there is no easy way to remove the old PHP. One of the thing I read is that the relocation error is probably cause by multiple similar software installed. But how do I rectify the relocation error if it is really the cause?
Anyone have any tips on how/where do I start to resolve this?
Thanks in advance.
I'm relatively new to Unix and after setting up PHP5, I was unable to start the Apache Server. The error below was reported:-
httpd: Syntax error on line 53 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 have been reading alot of forum post about relocation error. From what I understood, the problem file is ld.so.1 and the symbol xmlTextReaderSetup could not be found, most likely because the link is incorrect. I did used the ldd command but I have no idea how to even start or even how to find the symbol.
The other thing worth noting is that the server I am working on currently have Apache running with MySQL and PHP 5.2.4 (What I am installing is 5.2.5). All software in this server was installed using source packages so there is no easy way to remove the old PHP. One of the thing I read is that the relocation error is probably cause by multiple similar software installed. But how do I rectify the relocation error if it is really the cause?
Anyone have any tips on how/where do I start to resolve this?
Thanks in advance.
![]() |
Similar Threads
- help me plz (Getting Started and Choosing a Distro)
- Please help! DLL relocation problem (Windows NT / 2000 / XP)
- DLL user32.dll was relocated (Windows NT / 2000 / XP)
- Application Errors (Windows Software)
- April 3, 2007 Security Update For Windows Xp (Windows NT / 2000 / XP)
- boot problem (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: how to explode records?
- Next Thread: how to use php with java script
| Thread Tools | Search this Thread |
apache api array basic beginner broken cache cakephp class cms code computing confirm countingeverycharactersfromastring cron curl customizableitems database date delete dynamic echo email error fcc file filter folder form forms forum freelancing function functions gc_maxlifetime google header headmethod howtowriteathesis href htaccess html iframe image include incode ip javascript joomla limit link login malfunction match memmory memory menu method mod_rewrite multiple mysql navigation neutrality oop pagerank parsing paypal pdf php phpmysql query question random recursiveloop root script search select server sessions sms snippet soap source space sql support! system table template thesishelp trouble tutorial upload url variable video web window.onbeforeunload=closeme; youtube





