:: Re: [Libbitcoin] libbitcoin compila…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Noel Maersk
Ημερομηνία:  
Προς: libbitcoin
Καινούρια Θέματα: Re: [Libbitcoin] libbitcoin compilation on OpenBSD
Αντικείμενο: Re: [Libbitcoin] libbitcoin compilation on OpenBSD
On Mon, Dec 16, 2013 at 12:20:32AM +0100, mlmikael wrote:
> ...
>
> 2) How do you switch off the -ldl? Sought all over obelisk's files and
> didn't find.
>
> ...


I'm not sure you should. that's the dynamic linking loader library, and
it's tightly coupled with the rest of glibc libraries.

libdl in not present on BSDs as a separate library. Instead, it's just
in libc, so you'd have to use -lc instead of -ldl. But see `man dlopen`.

Try commenting out all occurences of

LIBS="-ldl $LIBS"

in `configure`, then `./configure && make`.

If it helps, we'll think of the needed changes to the build
system. There should be many examples of how to do it right
and wrong in BSDs.