> 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 mod_ldap.so and mod_auth_ldap.so. > 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/mod_ldap.so into server: Unresolved > external > > > > I'm thinking they're related as the mod_auth_ldap.so 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" Sheryl --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx