curl-library
linking trouble: libcurl.so.4 not found
Date: Wed, 9 Jan 2008 14:26:40 -0600 (CST)
Hi there
I'm trying to run a C program that uses libcurl
like this:
`curl-config --cc --cflags --libs` -L/usr/local/lib -o
first_try first_try.c
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.
Any idea ?
____________________________________________________________________________________
ˇCapacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/
Received on 2008-01-09