Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52369 - x11-base/xfree 4.3.0-r5 has empty /etc/env.d/10xfree causing link errors
Summary: x11-base/xfree 4.3.0-r5 has empty /etc/env.d/10xfree causing link errors
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 09:24 UTC by Martin Muggli
Modified: 2004-10-07 16:17 UTC (History)
1 user (show)

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 Martin Muggli 2004-05-29 09:24:02 UTC
When trying to emerge x11-libs/gtk+-2.4.0-r1, I got a message saying it couldn't find one of the libraries in /usr/X11R6/lib.  Also, vncserver would not start.

This problem began after doing an emerge --update system which updated me to  x11-base/xfree 4.3.0-r5

I discovered that /usr/X11R6/lib was not in my ld.so.conf and /usr/X11R6/bin was not in my path.  I found out that /etc/env.d/10xfree was empty.  I put in an LDPATH statement and manually fixed my path so I could get a vncserver running.



Reproducible: Always
Steps to Reproduce:
1. emerge --update system
2. encounter and do workaround from bug 43790 
3. emerge --update system, x11-libs/pango-1.4.0 build dies for lack of libXext, fix /etc/ld.so.conf and ldconfig
3. emerge --update system and watch it get past pango and then the gtk+ ebuild fail during ./configure, alternately, run any program needing a library from /usr/X11R6/lib

Actual Results:  
message for x11-libs/pango-1.4.0:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: libXext.so.6, needed by /usr/X11R6/lib/libXft.so, not found (try using
 -rpath or -rpath-link)
/usr/X11R6/lib/libXrender.so: undefined reference to `XextAddDisplay'
/usr/X11R6/lib/libXrender.so: undefined reference to `XextFindDisplay'
/usr/X11R6/lib/libXrender.so: undefined reference to `XextRemoveDisplay'
/usr/X11R6/lib/libXrender.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1
make[4]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-


Expected Results:  
successfull emerge

Right now my /etc/env.d/10xfree only has LDPATH. If someone could dump their
complete one into the bug notes, that would be great!

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-xfs_pre2)
=================================================================
System uname: 2.4.20-xfs_pre2 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bonobo crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 gtkhtml guile imlib jpeg kde libg++ libwww mad mikmod mmx
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl slang sll spell ssl svga tcltk tcpd tetex tiff
truetype x86 xml2 xmms xv zlib"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-09 17:57:52 UTC
Martin, did this bug ever show up in xfree's -r6 or in any of the xorg-x11 packages?
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-07 16:17:38 UTC
Let us know if this is occurring with newer versions.