curl-library
Re: linking trouble: libcurl.so.4 not found
Date: Wed, 9 Jan 2008 12:37:05 -0800
On Wed, Jan 09, 2008 at 02:26:40PM -0600, queto putito wrote:
> The compilation is ok but when I try to run, it
> returns the following message:
> ./first_try: error while loading shared libraries:
> libcurl.so.4: cannot open shared object file: No such
> file or directory
>
> libcurl.so.4 is located at /usr/local/lib
>
> curl-config -cc returns gcc
> curl-config --cflags returns -I/usr/local/include
> curl-config --libs returns -L/usr/local/lib -lcurl
> curl-config --version returns libcurl 7.17.1
>
> I tried using a makefile and it's the same result
> I tried to set LD_LIBRARY_PATH to /usr/local/lib but
> it has no effect.
Did you set LD_LIBRARY_PATH at compile time or run time? It only makes
sense at run time. Could it be that libcurl.so.4 itself has a missing
dependency? What does "ldd /usr/local/lib/libcurl.so.4" show?
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-01-09