Hello, I was using reconcilio on my amd64 machine while running into this problem. reconcilio finds that /usr/games/bin/btanks (from games-action/btanks-0.6.5069) requires these libraries, which are not found: libbt.so libmrt.so libsdlx.so all of them are in /usr/games/lib64/btanks. Unfortunately /usr/games/lib64/ is not in /etc/ld.so.conf: # grep games /etc/ld.so.conf /usr/games/lib /usr/games/lib32 There is only /usr/games/lib64 on my system: # ls /usr/games/lib* -ld drwxr-x--- 6 root games 71 2007-12-05 12:27 /usr/games/lib64 /etc/env.d/90games has the following two lines: LDPATH="/usr/games/lib:/usr/games/lib32" PATH="/usr/games/bin" I think games.eclass should set LDPATH="/usr/games/lib64".
here is the output of "emerge --info": Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23.9 x86_64) ================================================================= System uname: 2.6.23.9 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz Timestamp of tree: Tue, 11 Dec 2007 15:46:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0_rc6 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=nocona -mtune=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -march=nocona -mtune=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avahi berkdb bitmap-fonts bzip2 cairo cdr cli contrarius cracklib crypt cups dbus dc1394 dri dts dv dvd dvdnav dvdr dvdread dvi eds emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif glib glitz gnome gnutls gpm gstreamer gtk hal iconv ieee1394 inquisitio ipv6 isdnlog jpeg jpeg2k kerberos libnotify mad matroska midi mikmod mmx mp2 mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg openal openexr opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sse sse2 ssl ssse3 svg tcpd theora threads tiff trayicon truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows x264 xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
this is the reason why btanks works even when /usr/games/lib64 is not in ld.so.conf (thanks dleverton): $ scanelf -r /usr/games/bin/btanks TYPE RPATH FILE ET_EXEC /usr/games/lib64/btanks /usr/games/bin/btanks
(In reply to comment #2) > this is the reason why btanks works even when /usr/games/lib64 is not in > ld.so.conf (thanks dleverton): > > $ scanelf -r /usr/games/bin/btanks > TYPE RPATH FILE > ET_EXEC /usr/games/lib64/btanks /usr/games/bin/btanks > For the record, I will be fixing reconcilio to respect the RPATH header, but I still think /usr/games/lib64 should be in ld.so.conf (and/or /usr/games/lib should be a symlink on multilib amd64 systems).
*** Bug 232463 has been marked as a duplicate of this bug. ***
Created attachment 165015 [details, diff] games.eclass.patch possible fix
That'll do for now. It removes the GAMES_LIBDIR override for games_get_libdir but that never worked for dogameslib anyway. Fixed.