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

rpath versus ld-elf.so.hints?


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Tue, 14 Feb 2006 09:09:12 -0800

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

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.

So, what do you guys do?  Is there any disadvantage to adding
/usr/pkg/lib to the hints file?  Any reason to avoid it?
(Possible name conflicts if someone trys to use both ports
and pkgsrc, maybe?)


Thanks.




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