Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problems following the steam install guide
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Tue Aug 13, 2019 10:14 am    Post subject: [SOLVED] Problems following the steam install guide Reply with quote

I am following the https://wiki.gentoo.org/wiki/Steam guide to install steam, but after i create the '/etc/portage/package.use/steam' file and run '$emerge --ask --changed-use --deep @world' it fails to emerge sys-devel/llvm-7.1.0::gentoo.

Code:

$ emerge --info '=sys-devel/llvm-7.1.0::gentoo'

Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-8.3.0, glibc-2.29-r2, 5.2.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.2.8-gentoo-x86_64-AMD_Ryzen_Threadripper_1920X_12-Core_Processor-with-gentoo-2.6
KiB Mem:    16320720 total,  11030268 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 12 Aug 2019 12:00:01 +0000
Head commit of repository gentoo: 3368d5e2fdca00d0dbfca1a10c7faa76d8221728
Head commit of repository steam-overlay: e21303b3d12a2925ea02ab40978fec14b896fb85

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j19"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-devel/llvm-7.1.0::gentoo was built with the following:
USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore"
FEATURES="userfetch unmerge-orphans sfperms usersync binpkg-docompress binpkg-dostrip assume-digests binpkg-logs pid-sandbox parallel-fetch userpriv strict preserve-libs unknown-features-warn config-protect-if-modified ipc-sandbox xattr distlocks news multilib-strict unmerge-logs protect-owned merge-sync sandbox usersandbox fixlafiles network-sandbox ebuild-locks"


Code:

$ emerge -pqv '=sys-devel/llvm-7.1.0::gentoo'

[ebuild   R   ] sys-devel/llvm-7.1.0  USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar" ABI_X86="32* (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore"


build log on pastebin because its 900+ lines https://pastebin.com/HMb9pi9r

EDIT: the fix i used

The problem was that the /usr/lib32 directory wasnt in the library path,
so i created a file in the /etc/env.d/ called 99lib32path
Code:

LDPATH=/usr/lib32

and then run 'env-update' which updates the /etc/ld.so.conf file so it includes the /usr/lib32 directory

after that i ran source /etc/profile to add the changed environment variable to my current bash instance after this all problems are gone.


Last edited by Ragarock on Wed Aug 14, 2019 2:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22057
Location: here

PostPosted: Tue Aug 13, 2019 10:18 am    Post subject: Reply with quote

Code:
MAKEOPTS="-j19"

A possible out of memory error? See dmesg
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Tue Aug 13, 2019 10:24 am    Post subject: Reply with quote

Thanks for responding so fast! :)

dmesg shows nothing about out of memory.
My computer has 16GiB of RAM and 16GiB of swap so i would be suprised if that would be the issue.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Tue Aug 13, 2019 11:57 am    Post subject: Reply with quote

tried to compile it using MAKEOPTS="-j1" to get a easier to read build log

Code:

$ emerge --info '=sys-devel/llvm-7.1.0::gentoo'

Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-8.3.0, glibc-2.29-r2, 5.2.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.2.8-gentoo-x86_64-AMD_Ryzen_Threadripper_1920X_12-Core_Processor-with-gentoo-2.6
KiB Mem:    16320720 total,  10640144 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 12 Aug 2019 12:00:01 +0000
Head commit of repository gentoo: 3368d5e2fdca00d0dbfca1a10c7faa76d8221728
Head commit of repository steam-overlay: e21303b3d12a2925ea02ab40978fec14b896fb85

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-devel/llvm-7.1.0::gentoo was built with the following:
USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore"
FEATURES="userfetch unmerge-orphans sfperms usersync binpkg-docompress binpkg-dostrip assume-digests binpkg-logs pid-sandbox parallel-fetch userpriv strict preserve-libs unknown-features-warn config-protect-if-modified ipc-sandbox xattr distlocks news multilib-strict unmerge-logs protect-owned merge-sync sandbox usersandbox fixlafiles network-sandbox ebuild-locks"



Code:

$ emerge -pqv '=sys-devel/llvm-7.1.0::gentoo'

[ebuild   R   ] sys-devel/llvm-7.1.0  USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar" ABI_X86="32* (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore"


and here is the build.log again https://pastebin.com/62R1tj5f

i notice that it says "/var/tmp/portage/sys-devel/llvm-7.1.0/work/llvm-7.1.0.src-abi_x86_32.x86/bin/llvm-tblgen: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory"

Code:

$ ls /usr/lib64/ | grep libz

libz.so
libzstd.so
libzstd.so.1
libzstd.so.1.3.7


Code:

$ ls /lib64/ | grep libz

libz.so.1
libz.so.1.2.11


Code:

$ ls /usr/lib32/ | grep libz

libz.so
libz.so.1
libz.so.1.2.11


so i have both the 64 and 32 bit libz.so.1
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22057
Location: here

PostPosted: Tue Aug 13, 2019 12:15 pm    Post subject: Reply with quote

And try to rebuild sys-libs/zlib?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Tue Aug 13, 2019 1:55 pm    Post subject: Reply with quote

i reemerged zlib using MAKEOPTS="-j1" and then tried to emerge llvm again, but it still gives the same
"/var/tmp/portage/sys-devel/llvm-7.1.0/work/llvm-7.1.0.src-abi_x86_32.x86/bin/llvm-tblgen: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory"
during the build process.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 8:17 am    Post subject: Reply with quote

I have found another package that when i try and emerge it, it gives a similar problem.

when i try and emerge nss it also fails because of a missing lib 'libplc4.so'

build.log
https://pastebin.com/Z7dy8Qjk

Code:

 $ emerge --info '=dev-libs/nss-3.40.1-r1::gentoo'

Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-8.3.0, glibc-2.29-r2, 5.2.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.2.8-gentoo-x86_64-AMD_Ryzen_Threadripper_1920X_12-Core_Processor-with-gentoo-2.6
KiB Mem:    16320720 total,  13967892 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 12 Aug 2019 12:00:01 +0000
Head commit of repository gentoo: 3368d5e2fdca00d0dbfca1a10c7faa76d8221728
Head commit of repository steam-overlay: e21303b3d12a2925ea02ab40978fec14b896fb85

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-libs/nss-3.40.1-r1::gentoo was built with the following:
USE="nss-pem -cacert -utils" ABI_X86="(64) -32 (-x32)"


would it be possible that portage doesnt set the path to the 32bit libraries correctly?, because to me it looks like only packages that depend on a 32bit library fail to build, while 32bit libraries that dont depend on other libraries do build correctly, but i might be completely wrong on this.

here is my make.conf as it might be important

Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe -march=native -mtune=native"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

MAKEOPTS="-j9"

USE="ssl pulseaudio vulkan"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
GRUB_PLATFORMS="efi-64"

INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="amdgpu radeonsi"

PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_SYSTEM="save"


and the current profile i use

Code:

$ eselect profile list
Available profile symlink targets:
...
  [5]   default/linux/amd64/17.0/desktop (stable) *
...
Back to top
View user's profile Send private message
kajzer
Guru
Guru


Joined: 27 Nov 2014
Posts: 439

PostPosted: Wed Aug 14, 2019 8:42 am    Post subject: Reply with quote

I think it's time to have Steam in Portage, Gentoo might be the only distro which doesn't have it in the main repository.
There's only one overlay I use and that is steam overlay.
However, for some users, mostly new gentoo users, installing steam could be a pain, I don't really see a reason for excluding it from the main tree.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22057
Location: here

PostPosted: Wed Aug 14, 2019 8:46 am    Post subject: Reply with quote

What return command emerge --info --verbose y | grep SYMLINK_LIB
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 8:47 am    Post subject: Reply with quote

Code:

$  emerge --info --verbose y | grep SYMLINK_LIB

SYMLINK_LIB="yes"
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22057
Location: here

PostPosted: Wed Aug 14, 2019 9:09 am    Post subject: Reply with quote

Your output is correct. Sorry, I'm out of ideas.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 9:15 am    Post subject: Reply with quote

well thanks for trying to help!

if i somehow figure something out i will put it on here.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 10:42 am    Post subject: Reply with quote

ive used tried to compile a simple c program using 'gcc -m32 main.c -lz' and see if it compiles correctly.

Code:

#include <zlib.h>
#include <stdlib.h>
#include <stdio.h>

int main() {
   printf("Using version %s of zlib\n", zlibVersion());

   return 0;
}


and compiling this works just fine, but once i try too run the a.out it produces it gives me the
"./a.out: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory"
the output of ldd a.out is as expected
Code:

 $ ldd a.out
        linux-gate.so.1 (0xf7f84000)
        libz.so.1 => not found
        libc.so.6 => /lib/libc.so.6 (0xf7d6e000)
        /lib/ld-linux.so.2 (0xf7f85000)


so i tried
Code:

$ env LD_LIBRARY_PATH=/usr/lib32 ldd a.out
        linux-gate.so.1 (0xf7f64000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7f3f000)
        libc.so.6 => /lib/libc.so.6 (0xf7d33000)
        /lib/ld-linux.so.2 (0xf7f65000)


and now when i try to execute a.out i get the expected result

Code:

 $ env LD_LIBRARY_PATH=/usr/lib32 ./a.out
Using version 1.2.11 of zlib


so my gentoo setup seems to have the LD_LIBRARY_PATH not set up correctly, but when i try to set the LD_LIBRARY_PATH=/usr/lib32 before emerging llvm it still fails for the same reason. if anybody is aware of a way to set the library path more permanent that would be a great help!
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 11:48 am    Post subject: Reply with quote

Allright i seem to have fixed it, but im not sure if i fixed it in a correct way.

I added a new file in /etc/env.d/ i called it '99lib32path' and put this in the file

Code:

LDPATH=/usr/lib32


then i ran 'env-update' and 'source /etc/profile'

after this i was able to emerge nss, still waiting on llvm to emerge as i am using -j1 while testing this.


also how can i set this issue as solved on the forum, once i make sure llvm emerges correctly?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22057
Location: here

PostPosted: Wed Aug 14, 2019 11:48 am    Post subject: Reply with quote

What contains your /etc/ld.so.conf file?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 11:58 am    Post subject: Reply with quote

Code:

$ cat /etc/ld.so.conf

# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
include ld.so.conf.d/*.conf
/usr/lib/llvm/7/lib64
/lib64
/usr/lib64
/usr/local/lib64
/lib
/usr/lib
/usr/local/lib
/usr/lib64/rust-1.34.2
/usr/lib32


as you can see it now shows /usr/lib32 because of the file i added in /etc/env.d/
Back to top
View user's profile Send private message
Ragarock
n00b
n00b


Joined: 13 Aug 2019
Posts: 11

PostPosted: Wed Aug 14, 2019 2:01 pm    Post subject: Reply with quote

Ive been able to install steam now, and everything is working correctly, thanks for all the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum