How do I set/turn off LD_LIBRARY_PATH from compiled binary.
Show older comments
I have compiled an application to run on a server. Every time I run it, however, I get the LD_LIBRARY_PATH printed. I would like to know: Is the LD_LIBRARY_PATH being set every time I run the application? If so, can I set it up once and for all and will this make it run faster next time? If not, can I have my compiled application to stop printing it?
In addition to this, I get a warning about a non-specified display. I assume this is a different issue on the compiler, but if someone will help me confirm it I will appreciate it.
Best regards,
1 Comment
Harsheel
on 25 Nov 2014
After compilation, there is an executable created and a .sh script. How are you exactly executing the compiled application?
Answers (0)
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!