Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79232 - net-libs/gnutls-1.1.23 links to previous version of gnutls
Summary: net-libs/gnutls-1.1.23 links to previous version of gnutls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tom Martin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 79323
  Show dependency tree
 
Reported: 2005-01-23 10:09 UTC by Alex Tomkins
Modified: 2005-02-05 04:33 UTC (History)
1 user (show)

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


Attachments
gnutls-1.1.23-r1--linking_fix.patch (gnutls-1.1.23-r1--linking_fix.patch,1.01 KB, patch)
2005-01-24 11:10 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Tomkins 2005-01-23 10:09:54 UTC
When emerging gnutls-1.1.23:

checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.0... no
configure: error:
***
*** libgcrypt was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
***


gnutls-1.1.23.ebuild has: 

RDEPEND=">=dev-libs/libgcrypt-1.1.94


Should be >=dev-libs/libgcrypt-1.2.0.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-01-23 13:45:00 UTC
fix dependancy. Also fixed version notices for rebuild.

Still todo: 
When gnutls-1.1.23 is compiled it links against the previous version of gnutls install. Than means it has to be emerged twice to be properly installed. Added to package.mask until this is resolved.

find usr/lib usr/bin -type f -ls
usr/lib/pkgconfig/gnutls.pc
usr/lib/pkgconfig/gnutls-extra.pc
usr/lib/libgnutls.so.12.1.23
usr/lib/libgnutls.la
usr/lib/libgnutls.a
usr/lib/libgnutls-extra.so.12.1.23
usr/lib/libgnutls-extra.la
usr/lib/libgnutls-extra.a
usr/lib/libgnutls-openssl.so.12.1.23
usr/lib/libgnutls-openssl.la
usr/lib/libgnutls-openssl.a
usr/bin/libgnutls-config
usr/bin/libgnutls-extra-config
usr/bin/gnutls-serv
usr/bin/gnutls-cli
usr/bin/srptool
usr/bin/gnutls-cli-debug
usr/bin/certtool
readelf -a usr/lib/libgnutls-extra.so.12.1.23 | fgrep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libopencdk.so.8]
 0x00000001 (NEEDED)                     Shared library: [libgcrypt.so.11]
 0x00000001 (NEEDED)                     Shared library: [libgpg-error.so.0]
 0x00000001 (NEEDED)                     Shared library: [liblzo.so.1]
 0x00000001 (NEEDED)                     Shared library: [libgnutls.so.11]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
qpkg -f -v /usr/lib/libgnutls.so.11
net-libs/gnutls-1.0.23 *

(Thanks to nostromo on #gentoo-ppc for the report.)
Comment 2 TGL 2005-01-24 11:09:57 UTC
The linking error comes from libtool, which does a relinking against system libs at "make install" time. elibtoolize from libtool.eclass can fix that, i will attach an ebuild patch.
Comment 3 TGL 2005-01-24 11:10:53 UTC
Created attachment 49403 [details, diff]
gnutls-1.1.23-r1--linking_fix.patch
Comment 4 Tom Martin (RETIRED) gentoo-dev 2005-01-25 14:04:13 UTC
TGL, I can't get this fix to work. The only time the issue is solved for me is when I merge gnutls-1.1.23 twice.

Any ideas?
Comment 5 Tom Martin (RETIRED) gentoo-dev 2005-02-05 04:33:28 UTC
These problems are resolved in gnutls-1.2.0.

Thanks for the report.