PDA

View Full Version : how to link the right version libraries when I execute an application



ilpaso
17th January 2011, 09:14
Hi all
I cross compiled the Qt embedded libraries and an application in qws mode for an ARM device with linux.
When I try to execute my application on the target device retuns a wrong library version.
Inside the library path there is a link to other Qt libraries version and my application doesn't work.
I'd like to tell to the application the right path at the runtime and don't replace the installed libraries because these libraries are used in other applications.

A solution could be to compile the application "static" but I'd like to use shared libraries.

Thank you

ilpaso