Kyle Moffett wrote:

Does anybody else have any comments, or should we suggest that porters
avoid the usage of DYLD_LIBRARY_PATH in packages?  I just spent an
hour and a half trying to debug my application to figure out why it crashed
on one machine and not another.  The answer was that I was trying to use
a library in /usr/local, but the DYLD_LIBRARY_PATH variable caused the
linker to always use the one it found in /sw/lib, despite the fact that my
program was linked to the one in /usr/local.

Eek! yeah, this is bad. If fink packages are built correctly, they should be able to find things without the help of DYLD_LIBRARY_PATH. I've used neither package so I can't be sure why they're setting it, but chances are there's ways to do what they need without setting it.

--
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
gpg: 6401 D02A A35F 55E9 D7DD  71C5 52EF A366 D3F6 65FE
Odelay IS a word, just look it up in the Becktionary!


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to