On Fri, 22 Mar 2013, Berend Hasselman wrote:
On 22-03-2013, at 11:01, Berend Hasselman <bhh(a)xs4all.nl>
wrote:
Followup on this:
>
> - Tools, Gnuplot starts the included gnuplot but in the Terminal window you get the
message:
> dyld: DYLD_ environment variables being ignored because main executable
(/usr/bin/login) is setuid or setgid
> gnuplot does start with terminal type aqua.
> Googling on the warning turned up:
>
>
http://apple.stackexchange.com/questions/58228/how-to-fix-terminal-error-...
>
> and in that discussion this
>
>
https://discussions.apple.com/thread/4143805?start=0&tstart=0
>
> There is more about this on the internet. It seems to evolve round the use of sudo.
The matter is totally beyond me.
> It appears to be a bug in 10.8.x.
>
I commented out the line
export DYLD_LIBRARY_PATH="$TOP"/lib
in the file Gretl.app/Contents/MacOS/Gretl.
Did Tools, Gnuplot and didn't get the DYLD_ warning/... message.
So is the line with DYLD… actually necessary since it seems
that all Gretl specific .dylib and .so files have a relative
installname (@executablepath/.…)? (BTW: very nice and good
job!)
(checked with otool -L)
Yes, I think you're right -- we should be able to delete the
DYLD_LIBRARY_PATH setting in the gretl launcher script without
loss.
Allin