bad shared library ordering

Jeremie Le Hen jeremie.le-hen at epita.fr
Mon Sep 13 16:08:32 PDT 2004


> This isn't what I was alluding to.  Yes, since I discovered this I've
> deleted the package and I'm rebuilding everything.  Don't even need
> WITH_OPENSSL_BASE set.  I think the issue is that, perhaps, rpath is
> being used and so the /usr/local/lib version wins.  If this is the case
> then I see nothing wrong and I just need to do some cleanup.

I suppose you know about the /etc/ld-elf.so.conf file described in section
FILES of ldconfig(8) manual page ; but the granularity is unfortunately
per-directory, and I think the only way to link with a specific library
instead of the first-coming one is to use tricky options of ld(1).  You
may want to see -l and the -L one.

-- 
Jeremie LE HEN aka TtZ/TataZ                          jeremie.le-hen at epita.fr
                                                                 ttz at epita.fr
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


More information about the freebsd-current mailing list