classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


General 2018 via use-livecode
Has anyone successfully set the environment variable LD_LIBRARY_PATH for Mac/Linux apps?  I've found that I can set the variable using:

        put tValue into $LD_LIBRARY_PATH

and it appears to be set as far as the IDE is concerned.  However, if I use the shell command to display the value of this variable

        put shell("printenv")
        put shell("echo $LD_LIBRARY_PATH")

it's empty!

Similarly, if I try to set this in the shell script:

        put shell("export LD_LIBRARY_PATH=" & quote & tValue & quote & return & "printenv")

it doesn't work either!

Other environment variables seem to be OK.

Any suggestions please?

Peter Reid
Loughborough, UK

use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: