[gnutls-help] compiling gnutls 3.1.28 not being used by php in travis-ci workers
shadiakiki1986 at gmail.com
Sun May 31 00:39:24 CEST 2015
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*"
>From digging around, I understood that php is using
/usr/lib/x86_64-linux-gnu/libgnutls.so.26 . My compiled gnutls is ending up
I thought that perhaps replacing libgnutls.so.26 with a symlink to
could be a dirty fix, but it doesn't work. Php complains:
*symbol gnutls_certificate_get_x509_cas, version GNUTLS_1_4 not defined in
file libgnutls.so.26 with link time reference*
What do I still need to do to get php to use my compiled gnutls?
Should I recompile php from source as well?
Here are some files with details
- Log file
- .travis.yml file
- Compilation bash script
Best, Shadi AKIKI
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-help