Subject: Should libs be cross-linked?
To: None <tech-userlevel@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-userlevel
Date: 06/12/2002 12:50:29
Hi,
I've recently encountered piece of software which loaded libssl.so
dynamically. However, the software didn't load libcrypto, which libssl
depends on, so this failed.

This begs a question: shouldn't libssl be linked against libcrypto,
so that programs which -lssl (or dlopen("libssl.so")) would
get the dependant libraries loaded too? Other candidate for something
like this would be libedit, which is tied to libtermcap.

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-