compiling curl with gnutls on travis-ci

shadi akiki <[email protected]> Mon, 8 Jun 2015 10:17:59 +0300
Newsgroups gmane.comp.web.curl.php
Message-ID <CACk+RNs7zcekgOQ1deXg1sjExM4+DEjB1wy22hyLE1_XTMWmzA@mail.gmail.com>
--===============1140147898==
Content-Type: multipart/alternative; boundary=001a11c3657a1035500517fc71c0

--001a11c3657a1035500517fc71c0
Content-Type: text/plain; charset=UTF-8

I'm having trouble linking compiling curl 7.42.1 and linking it to gnutls
3.1.28, which I also compile, on the travis-ci workers. Curl keeps linking
to /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4  instead of
/usr/local/lib/libcurl.so.4 . The same code I'm using runs fine on an AWS
EC2 instance with Ubuntu 12.04, and I get my compiled curl to link to my
compiled gnutls.

My question is: How does the file
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 get generated? When I compile
curl with the --with-gnutls flag (and with the --without-ssl flag), I don't
get such a file generated in /usr/local/lib. I thought it would be the
--suffix configuration option, but I tried it, and that's not it

Here's a link
<https://travis-ci.org/shadiakiki1986/gnutls-3.1-travisci/builds/65843167#L532>
to my log line showing the evil libcurl-gnutls.so.4

-- 
Best, Shadi AKIKI
www.akikieng.com/shadi

--001a11c3657a1035500517fc71c0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;m having trouble linking compiling curl 7.42.1 =
and linking it to gnutls 3.1.28, which I also compile, on the travis-ci wor=
kers. Curl keeps linking to=C2=A0<span style=3D"font-size:13px;font-family:=
Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#=
39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier Ne=
w&#39;,monospace,sans-serif;line-height:16.8999996185303px;background-color=
:rgb(238,238,238)">/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 =C2=A0inst=
ead of /usr/local/lib/libcurl.so.4 . The same code I&#39;m using runs fine =
on an AWS EC2 instance with Ubuntu 12.04, and I get my compiled curl to lin=
k to my compiled gnutls.</span></div><div><span style=3D"font-size:13px;fon=
t-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mon=
o&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;C=
ourier New&#39;,monospace,sans-serif;line-height:16.8999996185303px;backgro=
und-color:rgb(238,238,238)"><br></span></div><div><span style=3D"font-size:=
13px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Libera=
tion Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39=
;,&#39;Courier New&#39;,monospace,sans-serif;line-height:16.8999996185303px=
;background-color:rgb(238,238,238)">My question is:=C2=A0</span><font face=
=3D"Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans M=
ono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><span st=
yle=3D"line-height:16.8999996185303px">How does the file /usr/lib/x86_64-li=
nux-gnu/libcurl-gnutls.so.4 get generated? When I compile curl with the --w=
ith-gnutls flag (and with the --without-ssl flag), I don&#39;t get such a f=
ile generated in /usr/local/lib. I thought it would be the --suffix configu=
ration option, but I tried it, and that&#39;s not it</span></font></div><di=
v><br></div>Here&#39;s a <a href=3D"https://travis-ci.org/shadiakiki1986/gn=
utls-3.1-travisci/builds/65843167#L532" target=3D"_blank">link</a> to my lo=
g line showing the evil libcurl-gnutls.so.4<div><div><div><br></div>-- <br>=
<div>Best, Shadi AKIKI<br><a href=3D"http://www.akikieng.com/shadi" target=
=3D"_blank">www.akikieng.com/shadi</a></div>
</div></div></div>

--001a11c3657a1035500517fc71c0--

--===============1140147898==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KaHR0cDovL2Nv
b2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vY3VybC1hbmQtcGhwCg==

--===============1140147898==--