On Feb 25, 2005, at 11:22 PM, Martin Costabel wrote:
Kevin Burnett wrote: []
I found a reference to that in my environment, via setenv, but I'm not sure how it gets there. It's not in my .cshrc.
DYLD_LIBRARY_PATH=/sw/lib
My .cshrc file conains this:
source /sw/bin/init.csh
As far as I remember, I haven't changed the file /sw/bin/init.csh
Can you search for it, for example with
grep DYLD -r /sw/etc/profile.d
[powerbookg4:/] kjb% grep DYLD -r /sw/etc/profile.d /sw/etc/profile.d/regina.csh:setenv DYLD_LIBRARY_PATH '/sw/lib' /sw/etc/profile.d/regina.sh:export DYLD_LIBRARY_PATH='/sw/lib'
Aha! This is very bad, I am CCing the maintainer of regina.
I guess we should officially outlaw this. If a package thinks it needs this variable, it can write a wrapper script so that the variable is set for this application, but it shouldn't be set for the whole world.
We should probably also have some instructions in the packaging manual that the RuntimeVars field needs to be used in a responsible, non-intrusive way.
-- Martin
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
