httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheryl" <>
Subject Re: [users@httpd] Apache Modules and Libraries
Date Fri, 14 Sep 2007 19:26:14 GMT
> When apache loads a module, does it use any environment variables to
> locate it's libraries?  If so..what?  I have an install of apache 2.0.55
> on HP-UX 11.11.  It was compiled with and
> The OpenSSL libraries that were used during the compile of apr,
> apr-util, and httpd have a funky link in them that starts with a "./".
> If you start httpd, it says it can't find the SSL library.  Setting the
> SHLIB_PATH environment fixes that, but then it throws this error:
> Syntax error on line 191 of /opt/apache3/conf/httpd.conf:
> Cannot load /opt/apache3/modules/ into server: Unresolved
> external
> I'm thinking they're related as the uses SSL so it's
> probably trying to find the SSL libraries somehow.  I just need to
> figure out how to tell it where they are.

I haven't used HPUX in a while, but if it has the ldd command you should
be able to find out which library is causing the problem.

Then you can add the directory where the library resides to
/apache-install-directory/bin/envvars in the LD_LIBRARY_PATH variable.

Or you can compile in an RPATH which may have a slight security benefit. 
Depending upon the OS, you may be able to do that by exporting
LDFLAGS='-L/path/to/lib -R/path/to/lib' or you may have to do something like

export LDFLAGS="-L/path/to/lib  -Wl,--rpath -Wl,/path/to/lib"


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message