View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Thu Mar 02, 2017 10:00 pm Post subject: Incompatible libstdc++ for dev-cpp/libxmlpp |
|
|
[Moderator edit: changed title from Incompatible libstdc to correct library name and mention the affected package. -Hu]
I've been getting this with a couple of dependencies:
Code: |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -l-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so when searching for -lstdc++
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.a when searching for -lstdc++
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:635: libxml++-2.6.la] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-cpp/libxmlpp-2.40.1/work/libxml++-2.40.1-abi_x86_32.x86/libxml++'
make[1]: *** [Makefile:569: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-cpp/libxmlpp-2.40.1/work/libxml++-2.40.1-abi_x86_32.x86'
make: *** [Makefile:443: all] Error 2
|
--info:
Code: |
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.4, glibc-2.23-r3, 4.8.15-rt-rt10 x86_64)
=================================================================
System uname: Linux-4.8.15-rt-rt10-x86_64-AMD_A10-7800_Radeon_R7,_12_Compute_Cores_4C+8G-with-gentoo-2.3
KiB Mem: 2044560 total, 885456 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Wed, 01 Mar 2017 19:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.22.3_rc4::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.23.2::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.4::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
bar
location: /var/lib/layman/bar
masters: gentoo
priority: 50
proaudio
location: /var/lib/layman/proaudio
masters: gentoo
priority: 50
GentooStudio
location: /usr/local/portage
masters: gentoo
priority: 100
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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 aacplus acl alac alisp alsa ambisonics amd64 amr amrenc apng audacious audiofile berkdb bindist bluray bs2b bzip2 cdda cddb cdio celt cli consolekit corefonts cpudetection cracklib crypt custom-modes cxx dbus dirac dri dssi dts dv dvd encode equalizer faac ffmpeg fftw flac fluidsynth fontconfig fortran freesound g3dvl gdbm gif gtk gtk3 gudev gui http hwdb iconv icu id3 id3tag iec61883 ieee1394 ipv6 jack jackmidi jacksession jpeg ladspa lame libnotify libsamplerate lv2 mac mad matroska midi minizip modules mp3 mp4 mpeg mpg123 multilib musepack musicbrainz ncurses netjack nls nptl ogg opengl openmp opus pam pcre pcre16 plugins png policykit portmidi python qt3support qt4 qt5 quicktime readline realtime replaygain rubberband schroedinger seccomp session shine shorten shout skins sndfile soundtouch sox ssl startup-notification subversion svg taglib tcpd text theora tiff timidity truetype twolame udev unicode usb vamp vcd vorbis wav wavpack widgets x264 xattr xine xkb xml xvfb xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="*" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" INPUT_DEVICES="evdev libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
Pipeng Tux's lil' helper
Joined: 23 Jul 2013 Posts: 87
|
Posted: Tue Mar 07, 2017 1:51 am Post subject: |
|
|
Hi, i think this is because you are trying to compile 32 without the 32 libs, when you check the depends libs you can see is trying to compile the 32 version, but when it search the libs the 32 version don't are compiled and the 64 are skipped because are incompatible.
Here is in the wiki https://wiki.gentoo.org/wiki/Multilib_System_without_emul-linux_Packages
in my case i have enabled this in make.conf ABI_X86="32 64"
Cya. |
|
Back to top |
|
|
|
|
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
|
|