View Single Post
Posts: 64 | Thanked: 13 times | Joined on Apr 2010
#4
right,

But also we needed to run application on device to run application from /opt/appname/
we found alternative solution is to compile the application with rpath option
we do like this in ac configure file

LDFLAGS='-Wl,-rpath,/opt/appname/lib:/usr/lib'

hope it is useful to everyone


Regards
Wael

Originally Posted by dannym View Post
I think waelfarouk0 means some IDE.
Which operating system?
As Joorin said, try to start your IDE using
$ LD_LIBRARY_PATH=/opt/appname/lib qtcreator

If you want it to always do it, put
export LD_LIBRARY_PATH=/opt/appname/lib
into file .bashrc or .bash_profile (including the dot) in your home directory and relogin.

But you said "not Qt", so which IDE?