[gnutls-help] compiling gnutls 3.1.28 not being used by php in travis-ci workers

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jun 1 22:00:51 CEST 2015


On Sun, 2015-05-31 at 01:39 +0300, shadi akiki wrote:
> Hi

> I'm compiling gnutls 3.1.28 from source on travis-ci to use it from
> php.
> Running "pkg-config --modversion gnutls" before the compilation shows
> 2.12.14 whereas afterwards shows 3.1.28.
> However, running "var_dump(curl_version())" as well as "phpinfo()"
> before and after the compilation show 'ssl_version'="GnuTLS/2.12.14"
> only. 
> From digging around, I understood that php is
> using /usr/lib/x86_64-linux-gnu/libgnutls.so.26 . My compiled gnutls
> is ending up in /usr/local/lib/libgnutls.so.28

When soversion changes the libraries are not compatible. You'll have to
recompile all programs using them.

regards,
Nikos






More information about the Gnutls-help mailing list