Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Using Own Built Library: (2 Items)
   
Using Own Built Library  
Hi,

I'm new to QNX, and I'm trying to do some simple experiment on QNX. I create two projects:

- SimpleLibrary, consisting of one object I created for learning purpose, compile it as Shared Library, no problem after
 compilation

- SimpleApplication, to use the SimpleLibrary. I add SimpleLibrary.so to the Linker, Extra object files, and I can 
compile successfully.

However, when I tried to run the application, I got ":ldd:FATAL: Could not load library libSimpleLibrary.so" error. I 
tried to copy all the file (.so, _g.so, and the application) to the virtual machine but I still got the same error. What
 should I do to  make it run?

Thank you
Re: Using Own Built Library  
After searching from several sources, it looks like I put the file in a folder, and the LD_LIBRARY_PATH did not point to
 the directory. Now I can run it normally..