Re: compiling curl with gnutls on travis-ci

shadi akiki <[email protected]> Wed, 10 Jun 2015 09:13:09 +0300
Newsgroups gmane.comp.web.curl.php
Message-ID <CACk+RNt1xFVpXkL8Rt0Aocb=BrphQ+cZAregFW78kJV3e2Ptmg@mail.gmail.com>
--===============0694060271==
Content-Type: multipart/alternative; boundary=001a11c36410dbfc88051823c4c2

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

On Mon, Jun 8, 2015 at 8:12 PM, Rainer Canavan <[email protected]>
wrote:

> > When I compile curl, I get libcurl.so* files in /usr/local/lib, but no
> libcurl-gnutls.so.4 file
>
> Ubuntu provides separate packages for curl linked against 3 different
> ssl libraries, which can be installed in parallel. Grab the package
> source, (apt-get source libcurl4-gnutls-dev) and check the contents in
> the debian/ subdirectory. The rules and the patches are likely to
> contain the answer to your question.
>
> rainer
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>


It turned out that installing a separate php CLI other than the ones that
travis-ci workers already have (in phpenv) solved it for me.
The php binary /usr/bin/php5 was linking properly to the curl and gnutls
libraries that I install in /usr/local/lib,
but the binaries that phpenv automatically used didn't.

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

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Mon, Jun 8, 2015 at 8:12 PM, Rainer Canavan <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">rainer.canavan@s=
evenval.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(2=
04,204,204);border-left-style:solid;padding-left:1ex"><span>&gt; When I com=
pile curl, I get libcurl.so* files in /usr/local/lib, but no libcurl-gnutls=
.so.4 file<br>
<br>
</span>Ubuntu provides separate packages for curl linked against 3 differen=
t<br>
ssl libraries, which can be installed in parallel. Grab the package<br>
source, (apt-get source libcurl4-gnutls-dev) and check the contents in<br>
the debian/ subdirectory. The rules and the patches are likely to<br>
contain the answer to your question.<br>
<br>
rainer<br>
_______________________________________________<br>
<a href=3D"http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php" targe=
t=3D"_blank">http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php</a><=
br>
</blockquote></div><br><br></div><div class=3D"gmail_extra">It turned out t=
hat i<span style=3D"font-size:13px">nstalling a separate php CLI other than=
 the ones that travis-ci workers already have (in phpenv) solved it for me.=
</span></div><div class=3D"gmail_extra"><div style=3D"font-size:13px">The p=
hp binary /usr/bin/php5 was linking properly to the curl and gnutls librari=
es that I install in /usr/local/lib,=C2=A0</div><div style=3D"font-size:13p=
x">but the binaries that phpenv automatically used didn&#39;t.</div><div st=
yle=3D"font-size:13px"><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>

--001a11c36410dbfc88051823c4c2--

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

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KaHR0cDovL2Nv
b2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vY3VybC1hbmQtcGhwCg==

--===============0694060271==--