DragonFly commits List (threaded) for 2007-04
DragonFly BSD
DragonFly commits List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/etc/defaults rc.conf


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 12 Apr 2007 11:36:17 +0200

Matthew Dillon wrote:
Add /usr/pkg/lib to the default ldconfig_paths and remove /usr/X11R6/lib.
The path is now: /usr/lib/compat /usr/pkg/lib /usr/pkg/xorg/lib /usr/local/lib
pkgsrc packages use rpaths - absolute paths, and do not need ldd library
search paths. However, we do want these libraries to be easily accessible
to manually compiled programs and until GCC starts using rpaths by default,
maintaining a default list is a good idea.

Unfortunately this influences the linking stage as well, as I was told by joerg. This means that pkgsrc is no more able to prevent configure from linking to third party libs. It won't even be able to check if lib paths are correct, because ldd(1) also uses the ldconfig cache.


I strongly suggest making this not a default, but to put it in a prominent place so that users can quickly enable it in their local rc.conf.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



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