Operating System - Linux
1834814 Members
2787 Online
110070 Solutions
New Discussion

erro trying to compile apache with DSO

 
K.C. Chan
Trusted Contributor

erro trying to compile apache with DSO

I know this is not the place to post for apache help. But I know that is forum is the fastest to get a response from.

I've compiled apache1.3 with "configure --enable-module=most --enable-shared=max" and test it via apachectl configtest. I got this err:
Cannot load /usr/local/apache/libexec/mod_vhost_alias.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/mod_vhost_alias.so: symbol ap_pcalloc: referenced symbol not found
. This is on a Solaris 2.6. ld lib is in LD_LIBRARY_PATH, what else do I need to check. Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
1 REPLY 1
K.C. Chan
Trusted Contributor

Re: erro trying to compile apache with DSO

All, ignore this messages. I've figured it out. For those who wonder how it works, I needed to add "--enable-rule=SHARED_CORE". For some reason under Linux all I needed to compile apache was "--enable-module=so", But for Solaris you needed the above options to get it to work. go figure :-)
Reputation of a thousand years can be determined by the conduct of an hour