On Thu, 10 Dec 2009, Pete Wilson wrote:

But running the app, I get (and I believe this may go to your question about more than one libcurl.a):

client: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

This happens because your run-time linker - that is used to find all the libs (which btw are .so files when they are shared) when you invoke your application - doesn't find your locally installed library.

You can fix this several ways. One is to use the -rpath option with ld when you link your app and another is to set the LD_LIBRARY_PATH environment variable to point to the lib's dir.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to