Problem building 1.3.33 dynamic on Solaris 2.9 - Unresolved symbol ap_palloc on start up
Dan Saad 15 February 2005 11:40:58
When building Apache 1.3.33 with a fairly standard dynamic configuration I get the following error on an attempt to start the server: --
Cannot load /usr/local/apache/libexec/mod_env.so into server: ld.so.1: /loc01/local/apache_1.3.33/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/mod_env.so: symbol ap_palloc: referenced symbol not found ./apachectl start: httpd could not be started
--
Prior to the configuration I set CC and OPTIM according to things I've read:
It seems maybe the loader is having a problem seeing the symbol when attempting to load the first module.
Is there an Environment setting for the linker/loader I can adjust to resolve this ?
Did I miss something ?
Any help would be greatly appreciated...
Dan
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
-----Original Message-----> From: Saad, Dan (N-Computer Sciences Corp) [mailto:dan.saad@lmco.com]> Sent: Dienstag, 15. Februar 2005 02:17> To: users@httpd.apache.org> Subject: [users@httpd] Problem building 1.3.33 dynamic on > Solaris 2.9 -> Unresolved symbol ap_palloc on start up>
When building Apache 1.3.33 with a fairly standard dynamic > configuration> I get the following error on an attempt to start the server:> -->
Cannot load /usr/local/apache/libexec/mod_env.so into server: ld.so.1:> /loc01/local/apache_1.3.33/bin/httpd: fatal: relocation error: file> /usr/local/apache/libexec/mod_env.so: symbol ap_palloc: referenced> symbol not found> ./apachectl start: httpd could not be started
This sounds like the shell that's starting apache has a different LD_LIBRARY_PATH than the shell that compiled apache. Either make sure they're the same or compile using LDFLAGS to avoid needing LD_LIBRARY_PATH, eg:
It seems maybe the loader is having a problem seeing the symbol when> attempting to load the first module.>
Is there an Environment setting for the linker/loader I can adjust to> resolve this ?>
Did I miss something ?>
Any help would be greatly appreciated...>
---------------------------------------------------------------------> The official User-To-User support forum of the Apache HTTP > Server Project.> See <URL:http://httpd.apache.org/userslist.html> for more info.> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org> " from the digest: users-digest-unsubscribe@httpd.apache.org> For additional commands, e-mail: users-help@httpd.apache.org>
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org