Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114450 - eselect-opengl-1.0.3 doesn't work if lib64 is a symlink
Summary: eselect-opengl-1.0.3 doesn't work if lib64 is a symlink
Status: RESOLVED DUPLICATE of bug 109922
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-04 08:10 UTC by Robert Ögren
Modified: 2005-12-04 08:13 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 Robert Ögren 2005-12-04 08:10:37 UTC
eselect-opengl skips handling the 64-bit stuff because on my system, /usr/lib64
is a symlink to /usr/lib, not the other way around.

My system was installed with the 2004.3 profile and later upgraded to 2005.0 and
2005.1.

The lines that make it skip the 64 bit stuff are the following in opengl.eselect:
# Special case handling of lib32 because it can be a symlink to
# emul libs
# Kill this special case once amd64's 2004.3 crap is gone =) --eradicator
if [[ ${libdir} = "lib32" ]] ; then
        [[ -d ${PREFIX}/${libdir}/opengl ]] || continue
else
        [[ -d ${PREFIX}/${libdir}/opengl && ! -h ${PREFIX}/${libdir} ]] || continue
fi



Reproducible: Always
Steps to Reproduce:
1. eselect opengl set nvidia
2. cat /etc/env.d/03opengl


Actual Results:  
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="/usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"

Some symlinks are probably also missing.

Expected Results:  
The lib64 version should be in LDPATH too. More symlinks should be created.

I'm running stable 2005.1 except for eselect-opengl, eselect, nvidia-kernel and
nvidia-glx.

[ebuild   R   ] app-admin/eselect-opengl-1.0.3  
[ebuild   R   ] app-admin/eselect-1.0_rc2  


drwxr-xr-x  78 root root 49152 Dec  4 15:55 /usr/lib
drwxr-xr-x  10 root root  4096 Dec  4 15:56 /usr/lib32
lrwxrwxrwx   1 root root     3 May 11  2005 /usr/lib64 -> lib


Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo
http://ds.thn.htu.se/linux/gentoo"
LINGUAS="en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl
doc dvd dvdr eds emboss encode esd exif expat fam ffmpeg firefox foomaticdb gd
gif glut gnome gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 jpeg kde
lcms libwww lzw lzw-tiff mad mng mozilla mp3 mpeg ncurses nls nptl offensive ogg
oggvorbis openal opengl pam pcre pdflib perl png ppds python qt quicktime
readline recode scanner sdl spell ssl tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vorbis xinerama xml2
xmms xpm xv zlib linguas_en linguas_sv userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 08:13:36 UTC

*** This bug has been marked as a duplicate of 109922 ***