Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436146 - net-libs/gnutls: libgnutls-extra.so and libgnutls-openssl.so are linked against system libgnutls.so library
Summary: net-libs/gnutls: libgnutls-extra.so and libgnutls-openssl.so are linked again...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL: https://savannah.gnu.org/support/inde...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-09-25 01:20 UTC by Bartosz Brachaczek
Modified: 2012-09-26 23:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gnutls-2.12.20-libadd.patch (gnutls-2.12.20-libadd.patch,1.12 KB, patch)
2012-09-25 01:20 UTC, Bartosz Brachaczek
Details | Diff
gnutls-3.1.1-libadd-minimal.patch (gnutls-3.1.1-libadd-minimal.patch,458 bytes, patch)
2012-09-25 01:20 UTC, Bartosz Brachaczek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2012-09-25 01:20:08 UTC
libgnutls-extra.so (not present in gnutls3) and libgnutls-openssl.so are linked against system libgnutls.so library. So when upgrading from gnutls2 to gnutls3, libgnutls-openssl.so is linked to libgnutls.so.26 instead of libgnutls.so.28 (a rebuild fixes it), and when downgrading from gnutls3 to gnutls2, libgnutls-extra.so and libgnutls-openssl.so are linked to libgnutls.so.28 instead of libgnutls.so.26.

Attaching tested patches for gnutls2 and gnutls3.

I reported the bug upstream, see URL.
Comment 1 Bartosz Brachaczek 2012-09-25 01:20:36 UTC
Created attachment 324904 [details, diff]
gnutls-2.12.20-libadd.patch
Comment 2 Bartosz Brachaczek 2012-09-25 01:20:54 UTC
Created attachment 324906 [details, diff]
gnutls-3.1.1-libadd-minimal.patch
Comment 3 Bartosz Brachaczek 2012-09-26 20:54:44 UTC
FWIW, my patch is included in upstream gnutls-3.1.2.
Comment 4 Tim Harder gentoo-dev 2012-09-26 23:39:15 UTC
Fixed in 2.12.20.