[gnutls-help] compiling gnutls 3.1.28 not being used by php in travis-ci workers
shadi akiki
shadiakiki1986 at gmail.com
Sun May 31 00:39:24 CEST 2015
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
I thought that perhaps replacing libgnutls.so.26 with a symlink to
libgnutls.so.28
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
<https://s3.amazonaws.com/archive.travis-ci.org/jobs/64740717/log.txt>
- .travis.yml file
<https://github.com/shadiakiki1986/gnutls-3.1-travisci/blob/master/.travis.yml>
- Compilation bash script
<https://github.com/shadiakiki1986/gnutls-3.1-travisci/blob/master/updateGnutls.sh>
--
Best, Shadi AKIKI
www.akikieng.com/shadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150531/a0470bfc/attachment.html>
More information about the Gnutls-help
mailing list