On Feb 23, 2005, at 17:57, Lars Damerow wrote:
I just set CFLAGS to -static before running configure. Maybe doing something similar with LDFLAGS would take care of -ldb-4.2?
If you can modify the Makefile perhaps, or Makefile.in, you can use this method.... Replace -ldb (or whatever) with the following:
-Wl,bstatic -ldb-4.2 -Wl,bdynamic
(or similar). I'm doing the options from memory, but they should be right. The effect is that only db-4.2 is loaded as a static library; the rest are dynamically loaded.
These options are gcc options designated for the linker.
-- David Douthitt UNIX System Administrator Linux+, LPIC-1, RHCE HP-UX, Unixware, Linux, FreeBSD, OpenBSD Member: ACM, USENIX/SAGE
_______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine