curl-library
Re: linking trouble: libcurl.so.4 not found
Date: Thu, 10 Jan 2008 00:51:18 -0600 (CST)
LD_LIBRARY_PATH was set at run time
ldd /usr/local/lib/libcurl.so.4
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6
(0xb7d98000)
/lib/ld-linux.so.2 (0x80000000)
--- Dan Fandrich <dan_at_coneharvesters.com> escribió:
> 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
> moved
>
____________________________________________________________________________________
¡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-10