DragonFly BSD
DragonFly users List (threaded) for 2006-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rpath versus ld-elf.so.hints?

From: joerg@xxxxxxxxxxxxxxxxx
Date: Tue, 14 Feb 2006 18:45:32 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Tue, Feb 14, 2006 at 09:09:12AM -0800, walt wrote:
> I'm confused about the use of these two mechanisms for finding
> shared libraries:  the FreeBSD way seems to be to add the
> /usr/local/lib directory to ld-elf.so.hints, but the NetBSD
> way is to use the rpath mechanism for /usr/pkg/lib/*.so

The ld-elf.so.hints mechanisms is a horrible artefact from a.out days.
ldconfig should serve only one point in an ELF world: system and compat

> This causes problems when a pkgsrc library is linked without
> the usual rpath (by accident, I assume) e.g. the cdparanoia
> package I just built on DF.

cdparanoia is linked fine here. Do you have a current libtool?


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