LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing gnutls 2.x alongside gnutls 3.x (https://www.linuxquestions.org/questions/slackware-14/installing-gnutls-2-x-alongside-gnutls-3-x-4175482295/)

yenn 10-26-2013 05:08 PM

Installing gnutls 2.x alongside gnutls 3.x
 
I need to debug encrypted WebDAV communication over HTTPS because windows 7/8 built-in webdav client for unknown reasons doesn't work with our webdav share.

Wireshark can decrypt SSL/TLS, but relies on gnutls library for that. Unfortunately it doesn't support gnutls 3.x (shipped in Slackware) yet and only way to get things working is to compile gnutls 2.x and rebuild wireshark again.

So far it works like a charm, but is it safe to have two different versions of same library installed in system? Lets say I would compile something that use gnutls. Which library/version will configure script choose if there are two libraries of the same name (in /usr/lib and /usr/local/lib)?

volkerdi 10-26-2013 05:22 PM

Perhaps you could compile gnutls 2.x with only static libraries, link against that, and then remove it.

mancha 10-27-2013 12:58 PM

I believe Wireshark only has issues with GnuTLS 3.0.0 through 3.1.9. The good news is GnuTLS 3.1.x is source & binary
compatible with GnuTLS 3.0.x. In fact, Pat recently bumped current to 3.1.x without issues.

So, I recommend you use Slackware-current's slackbuild to build GnuTLS 3.1.15 on your system (which I assume is 14.0).
You should not have to bother with multiple versions if you do that.

--mancha

yenn 10-27-2013 07:16 PM

typo
 
Quote:

Originally Posted by mancha (Post 5053217)
I believe Wireshark only has issues with GnuTLS 3.0.0 through 3.1.9. The good news is GnuTLS 3.1.x is source & binary
compatible with GnuTLS 3.0.x. In fact, Pat recently bumped current to 3.1.x without issues.

So, I recommend you use Slackware-current's slackbuild to build GnuTLS 3.1.15 on your system (which I assume is 14.0).
You should not have to bother with multiple versions if you do that.

I'm running current and I guess I must have built wireshark before GnuTLS version bump or missed something, because wireshark then didn't recognized GnuTLS as available. I'm rebuilding it right now and it already successfully picked up GnuTLS 3.1.x

Thanks!


All times are GMT -5. The time now is 03:26 AM.