cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users list Archives

Re: help

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 3 Jul 2013 21:22:11 +0200

On Wed, Jul 03, 2013 at 11:18:22AM +0430, fereshteh komijani wrote:
> 4-
>
> cd /home/fkomijani/curl 7.31
>
> ./configure --prefix=/home/fkomijani/NETCD4.2 --with-zlib=/home/fkomijani/NETCD4.2 --with-pic
> make check install
> 5-
>
> CPPFLAGS=-I/home/fkomijani/NETCD4.2/include
>   LDFLAGS=-L/home/fkomijani/NETCD4.2/lib
>   configure --prefix=/home/fkomijani/NETCD4.2
>
> make check install
>
> but after step 4 i got this error:
>
>
> /bin/sh ../../libtool  --tag=CC   --mode=link gcc  -O2 -Wno-system-headers
> > -L/home/fkomijani/NETCD4.2/lib -o usercertinmem usercertinmem.o ../../lib/
> > libcurl.la
> > libtool: link: gcc -O2 -Wno-system-headers -o .libs/usercertinmem
> > usercertinmem.o  -L/home/fkomijani/NETCD4.2/lib ../../lib/.libs/libcurl.so
> > -Wl,-rpath -Wl,/home/fkomijani/NETCD4.2/
>
> lib
> > /usr/bin/ld: usercertinmem.o: undefined reference to symbol
> > 'SSL_CTX_use_RSAPrivateKey'
> > /usr/bin/ld: note: 'SSL_CTX_use_RSAPrivateKey' is defined in DSO
> > /usr/lib/libssl.so.10 so try adding it to the linker command line
> > /usr/lib/libssl.so.10: could not read symbols: Invalid operation
> > collect2: ld returned 1 exit status
> > make[2]: *** [usercertinmem] Error 1
> > make[2]: Leaving directory `/home/fkomijani/curl-7.31.0/docs/examples'
> > make[1]: *** [check-am] Error 2
> > make[1]: Leaving directory `/home/fkomijani/curl-7.31.0/docs/examples'
> > make: *** [examples] Error 2
>
> would you please tell me how i can fix this erros?

This was a bug that sneaked into the 7.31.0 release--the usercertinmem example
program should not have been built with a "make check". I've fixed it in
commit 54f18e54 if you want to apply that patch to your code. Or, try
tomorrow's daily snapshot at http://curl.haxx.se/snapshots/

> also i need to say that in installation o got some warning too

I don't see any errors when I do it. Please be specific if you'd like some
assistance!

Since this is a libcurl issue, please follow-up on the curl-library mailing
list instead of this one.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-03

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET