Stephan

that makes sense.

In my perl script I use open anyway, and I will look at a function for command 
line use

Thank you again.

el

Sent from Dr Lisse’s iPad mini 4
On 11 Oct 2018, 07:04 +0200, Stephan Witt <[email protected]>, wrote:
> Am 10.10.2018 um 23:45 schrieb Dr Eberhard W Lisse <[email protected]>:
> >
> > Stephan,
> >
> > thank you.
> >
> > I use lyx from the command line a lot and have symlinked
> > /Applications/LyX.app/Contents/MacOS/lyx to /usr/local/bin. Using the
> > symlink it crashes, using the full path it works.
>
> I see.
>
> > Is it reproducible with the symlink? And if so would that be considered
> > a bug?
>
> See 
> https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html
>
> I’d say you shouldn’t use a pure symlink. Create a shell script instead
> and set the environment up to prepare the proper functioning. Perhaps
> it works for you only by using the wrapper script… The binary cannot
> correctly determine the location of the frameworks it should use
> if you fool it by your symlink. It’s all about security.
>
> Stephan

Reply via email to