[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segmentation fault in InitializeLocks

From: David Douthitt
Subject: Re: segmentation fault in InitializeLocks
Date: Thu, 24 Feb 2005 14:43:55 -0600
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20050120)

Tod Oace wrote:
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, 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]