PDA

View Full Version : Running application on Mac OS X



munna
19th April 2006, 17:26
Hi,

I did not find a suitable category and therefore I am posting it here.

I am trying to run an application on Mac OS X but I am getting the following error

dylib: Library not loaded: libqwt.4.dy.lib
Referenced from ......

Reason: image not found
Trace /BPT trap

My application uses qwt 4.2.0. I have successfully complied the qwt code and build the library.

I have libqwt.4.2.0.dylib in /Developer/Qwt-4.2.0/lib. Also there are other files which are alias. These files are:

libqwt.4.2.dylib
libqwt.4.dylib
libqwt.dylib

Thaks for the help.

Brandybuck
19th April 2006, 21:10
It sounds like libqwt isn't in your library path. Read the page on deploying for Mac OSX. http://doc.trolltech.com/4.1/deployment-mac.html. You may need to set an environment variable, or use install_name_tool. Or if you're distributing the program, consider static linking.