defining a rpath/unresolved symbols
Jim Turner <[email protected]>
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
Howdy all...
Having a slight issue with what appears to be a linker problem and
I'm out of ideas on how to fix it.
I have my v1.3.27 apache installed in /isp/apache/server and my
v3.23.55 MySQL server installed in /isp/mysql. Both were working
correctly before I started with mod_log_sql.
When I compile the module( shared ), I don't get any errors and only
2 benign warnings. Installed fine, but when I run an apache configtest,
it complains that dlopen can't load the module. My first thought was
that since mysql isn't in a "standard" search path, I would need to add
-rpath to the Makefile to get it to remember where mysqlclient.so is at.
Adding '-rpath /isp/mysql/lib/mysql' made the module find the
missing SQL library, but then appears to make the module loose all track
of a bunch of apache symbols ( ap_get_remote_host and the like ).
I'm not sure what's happening here. I've tried recompiling apache
with SHARED_CORE and attempted to link against that, but that only seems
to cause more problems. Any insight on what I should try next ( or what
I'm doing wrong ) would be greatly appreciated.
Note: I am attempting to compile this on Digital Unix 4.0f... not
something currently supported, but it shouldn't be all that different
from Sun. To that end, I've installed zlib 1.1.4 ( since it's not
natively there ) and I've also added -lrt as DU relies on it as well.
Thanks.
____
Jim Turner
Lead System Administrator
netINS, Inc.
[email protected]
515/830-0365
__________________________________________________________________
Reminder: to unsubscribe, send email to <[email protected]>
with the words "unsubscribe mod_log_sql" in the body (w/o quotes).
The module homepage is http://www.grubbybaby.com/mod_log_sql/