Martin Costabel wrote: []
[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.
Kevin, I forgot to say, as a workaround for your problem, just destroy the files /sw/etc/profile.d/regina.*sh or remove the regina-bin package.
If you want to run the regina binary, then if it can't be helped, set this environment variable in the shell from where you run the binary, but not in an init script. For a decently compiled binary, this environment variable should never be necessary, because the binary remembers all by itself where its libraries are to be found. In general, outside of testing situations DYLD_LABRAY_PATH is used only by laziness.
-- 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
