curl-users
RE: cURL build with different OpenSSL
Date: Tue, 10 Jan 2017 07:51:44 +0000
Hello CJ.
Thanks for the hint. I will try this out, however it takes time until I get to it.
Will let you know if it helped.
Hiran
From: curl-users [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of CJ Ess
Sent: 03 January 2017 17:51
To: the curl tool <curl-users_at_cool.haxx.se>
Subject: Re: cURL build with different OpenSSL
I think you want to add this to your LDFLAGS (GCC/Linux):
-L/opt/mystuff/libs -Wl,-rpath,/opt/mystuff/libs
To verify:
readelf -d /path/to/binary | grep RPATH
On Mon, Jan 2, 2017 at 10:15 AM, Hiran CHAUDHURI <hiran.chaudhuri_at_amadeus.com<mailto:hiran.chaudhuri_at_amadeus.com>> wrote:
Hello there.
I build cURL from source, and the OpenSSL library on that installation resides in a special nonstandard directory.
Although I do
./configure --prefix=${OUTDIR}/ curl --with-zlib=${OUTDIR}/ zlib-$ZLIB_VERSION/ --with-ssl=${OUTDIR}/ openssl-$SSL_VERSION
make
make install
afterwards I get a curl binary that depends on the system wide, outdated openssl rather than the one I specified. The last one I tried with this effect is 7.52.0, but I have been facing this since a while. Has anyone experienced a similar issue or knows what is going wrong?
Hiran
Hiran Chaudhuri
Principal System Engineer
NSH Web Hosting services
Amadeus Data Processing GmbH
Berghamer Strasse 6
85435 Erding
T: +49-8122-43x3662<tel:+49%208122%2043>
hiran.chaudhuri_at_amadeus.com<mailto:hiran.chaudhuri_at_amadeus.com>
http://amadeus.com<http://amadeus.com/>
[cid:image001.png_at_01D26B1E.C42DC310]
IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for the use of the individual or entity shown above as addressees . It may contain information which is privileged, confidential or otherwise protected from disclosure under applicable laws . If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, printing, distribution, copying, disclosure or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by reply e-mail or using the address below and delete the message and any attachments from your system . Amadeus Data Processing GmbH Geschäftsführer: Dr. Wolfgang Krips Sitz der Gesellschaft: Erding HR München 48 199 Berghamer Strasse 6 85435 Erding Germany
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for the use of the individual or entity shown above as addressees . It may contain information which is privileged, confidential or otherwise protected from disclosure under applicable laws . If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, printing, distribution, copying, disclosure or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by reply e-mail or using the address below and delete the message and any attachments from your system . Amadeus Data Processing GmbH Geschäftsführer: Dr. Wolfgang Krips Sitz der Gesellschaft: Erding HR München 48 199 Berghamer Strasse 6 85435 Erding Germany
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html