On Wed, 16 Apr 2003 21:42:20 BST, Joel Becker said:
On Wed, Apr 16, 2003 at 04:33:36PM -0400, Valdis Kletnieks vt edu wrote:
The two are sufficiently related that they can't marry in most states.. ;)
Well put. Anyway, libtool should be using -blibpath, but they
aren't so natch.
-blibpath won't help. The problem is that if you build a .so that doesn't
have a -lwhatever reference (usually by using -berok so it doesn't fail),
then external refs won't even be *attempted* to be resolved at runtime
unless you use rtl - if there's no -lfoo tagged in the header, it won't look
in -lfoo. With rtl, if somethign else has sucked in -lfoo, it will look there.