curl-library
Re: how to compile libcurl using uclic
Date: Wed, 5 Oct 2005 13:02:04 +0200 (CEST)
Tanks to your help Dan, I make some progress. I can
compile my application successfully when I compile
libcurl with the following configuration:
./configure --disable-ldap --without-zlib
--without-ssl CC=i386-linux-gcc CFLAGS=-static
Nevertheless I need to use ssl in my application. So I
have to supprime "--without-ssl" from configure
options. In this case, when I compile my application,
I obtain the following errors:
/opt/curl-7.14.1/lib/.libs//libcurl.a(ssluse.o): In
function `rand_enough':
ssluse.c:(.text+0x71): undefined reference to
`RAND_status'
/opt/curl-7.14.1/lib/.libs//libcurl.a(ssluse.o): In
function `random_the_seed':
ssluse.c:(.text+0xcd): undefined reference to
`RAND_load_file'
ssluse.c:(.text+0x11f): undefined reference to
`RAND_egd'
ssluse.c:(.text+0x191): undefined reference to
`RAND_add'
ssluse.c:(.text+0x1a9): undefined reference to
`RAND_status'
ssluse.c:(.text+0x1c5): undefined reference to
`RAND_file_name'
ssluse.c:(.text+0x1e0): undefined reference to
`RAND_load_file'
/opt/curl-7.14.1/lib/.libs//libcurl.a(ssluse.o): In
function `cert_stuff':
ssluse.c:(.text+0x302): undefined reference to
`SSL_CTX_set_default_passwd_cb_userdata'
...
What shall I do to resolve these errors?
HELP me please
--- Dan Fandrich <dan_at_coneharvesters.com> a écrit :
> On Tue, Oct 04, 2005 at 04:00:55PM +0200, oussema
> masmoudi wrote:
> > Hi,
> >
> > I have downloaded and installed curl v7.14.1 in
> the
> > aim of using libcurl. This lib works well with
> glibc.
> > Now I want to use it to compile my application
> using
> > uclibc. So, I have to recompile libcurl using
> uclibc.
> > I have done it. Nevertheless, when I compile my
> > application, I have many errors dealing with the
> > linker among them I can mension:
> > /opt/curl-7.14.1/lib/.libs//libcurl.a(ldap.o): In
> > function `DynaGetFunction':
> > /opt/curl-7.14.1/lib/ldap.c:184: undefined
> reference
> > to `dlsym'
> >
> > Has so already compiled libcurl using uclibc?
> >
> > HELP me please.
>
> libcurl has been successfully compiled with uclibc.
> dlsym is used by
> the LDAP module, so if you don't have it, try
> disabling LDAP support
> before compiling (configure --disable-ldap)
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web
> change of address service
> Let webmasters know that your web site has
> moved
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Received on 2005-10-05