cvs commit: src/etc/defaults rc.conf

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Apr 12 02:38:29 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070412/edbed4f7/attachment-0022.obj>


More information about the Commits mailing list