Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67490 - gaim fails to compile with ssl libraries
Summary: gaim fails to compile with ssl libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 17:38 UTC by Jory A. Pratt
Modified: 2004-10-20 06:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt 2004-10-13 17:38:36 UTC
ssl libraries are not being detected by gaim when emerging

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jory A. Pratt 2004-10-13 19:46:39 UTC
Portage 2.0.51_rc9 (default-linux/x86/2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 AMD Athlon(TM) XP2200+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -ffast-math -fforce-addr -fprefetch-loop-arrays -falign-functions=64 -momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -ffast-math -fforce-addr -fprefetch-loop-arrays -falign-functions=64 -momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa avi berkdb bitmap-fonts crypt cups encode esd f77 fam foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd tiff truetype x86 xml2 xmms xprint xv zlib"
Comment 2 Greg 2004-10-15 06:18:19 UTC
I am not sure if this is the same but but after emerging gaim 1.0.1 while trying to connect to msn I get a message saying: "SSL support is needed for MSN. Please install a supported SSL library. See http://gaim.sf.net/faq-ssl.php for more information"
Comment 3 uriahheep 2004-10-15 07:49:31 UTC
this bug is related to bug 67488 where gaim-encryption fails to compile, and is caused by a problem finding Mozilla NSS Libraries. Please see bug 67488 for more details about the matter... For now, though this bug can be detoured by using gnutls instead of nss by doing the following:

USE="gnutls" emerge gaim

unfortunately, gaim-encryption specifically needing the nss libraries, this use flag will not fix bug 67488.

by the way, this problem is also apparent in gaim-cvs and gaim-encryption-cvs, so it is not a problem with these packages, but more like a problem finding a dependency , so it's an anomaly in our systems... anyway, until this gets fixed at least, i'll be using gnutls (i don't know the difference between it and nss but i usually go for the default dependency, by pure logic...)

good luck!
uriahheep
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-10-19 22:37:58 UTC
Problem was change in dev-libs/nss ebuild that altered lib install directory.  Fixed in gaim-1.0.1 and gaim-1.0.2
Comment 5 Octavio Ruiz (Ta^3) 2004-10-20 06:32:03 UTC
Seems to be working now, but it this right?

 ldd /usr/lib/gaim/ssl-nss.so
        libdl.so.2 => /lib/libdl.so.2 (0x0000002a95669000)
        libplc4.so => /usr/lib/MozillaFirefox/libplc4.so (0x0000002a9576c000)
        libplds4.so => /usr/lib/MozillaFirefox/libplds4.so (0x0000002a95872000)
        libnspr4.so => /usr/lib/MozillaFirefox/libnspr4.so (0x0000002a95975000)
        libssl3.so => /usr/lib/MozillaFirefox/libssl3.so (0x0000002a95ab0000)
        libsmime3.so => /usr/lib/MozillaFirefox/libsmime3.so (0x0000002a95bd6000)
        libnss3.so => /usr/lib/MozillaFirefox/libnss3.so (0x0000002a95d00000)
        libsoftokn3.so => /usr/lib/MozillaFirefox/libsoftokn3.so (0x0000002a95e81000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x0000002a96005000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0000002a9611c000)
        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0000002a96342000)


Same issue in 3 machines, (2 x86, 1 x86_64)

gaim is linking with /usr/lib/MozillaFirefox/* and not with /usr/lib/nss/*
Comment 6 Don Seiler (RETIRED) gentoo-dev 2004-10-20 06:45:55 UTC
Yes that is expected.  It is during the compiling phase that it definitely needs to find those standalone libs.  However during run time, the linker finds Mozilla first and will use those for now.