[PATCH] Fix ldconfig paths in default configuration

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Apr 10 03:10:38 PDT 2007


Hasso Tepper wrote:
That's not right, because pkgsrc links everything with rpath, so
/usr/pkg/lib and /usr/pkg/xorg/lib are not needed.  Did you encounter a
situation where you needed it?
not sure how widespread it is, but I just ran into this today with
"ledger" [1]_, built manually via 'configure --prefix=/usr/local'
but linked against pkgsrc libraries.. Granted I could set LDFLAGS,
force this in ~/.profile (or better, get it into pkgsrc :), but in might
save the hassle if it happens frequently (this is the only thing so far
I've not built out of pkgsrc or /usr/src) ..
Exactly. It bites everyone not using pkgsrc to build some piece, but
trying to use libraries installed by pkgsrc.
I'd still advise not setting this in the defaults, but instead personally in rc.conf.    however, I wonder why anybody would build something from source and not use the pkgsrc framework.  packages are quickly made.

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: pgp00001.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20070410/8d988752/attachment-0019.obj>


More information about the Submit mailing list