Summary: | net-im/pidgin-2.10.7-r1 - gtkmedia.o: undefined reference to symbol 'XSetErrorHandler' - /usr/lib64/libX11.so.6: could not read symbols: Invalid operation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Udvare <audvare> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | candrews, cedric.godin, gnulinuxorocks45, net-im, uwelk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: | build log |
Description
Andrew Udvare
2013-04-01 03:21:27 UTC
Created attachment 343878 [details]
build log
> /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
Is something wrong with your libX11 maybe? What is the output of "equery check libX11"?
# equery check libX11 * Checking x11-libs/libX11-1.5.0 ... 1108 out of 1108 files passed Rebooted to see if that would change anything. Did not. I downgraded from binutils-2.23 to binutils-2.22 and Pidgin compiled fine. Pidgin 2.10.7-r5 failed with same error on ~x86 http://bpaste.net/show/122940/ . Solved by downgrading binutils from 2.23.2 to 2.23.1. A Google search for the error I got ( "/usr/lib64/libX11.so.6: could not read symbols: Invalid operation" ) while building cairo on amd64 led me to this thread. Downgrading binutils to 2.23.1 helped, upgrading binutils back to 2.23.2 caused x11-libs/cairo-1.12.14-r4 to fail again: libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -o .libs/cairo-perf-trace cairo-perf-trace.o cairo-error.o cairo-hash.o -Wl,--as-needed ../util/cairo-script/.libs/libcairo-script-interpreter.so -llzo2 ../util/cairo-missing/.libs/libcairo-missing.a ./.libs/libcairoperf.a ../boilerplate/.libs/libcairoboilerplate.a /var/tmp/portage/x11-libs/cairo-1.12.14-r4/work/cairo-1.12.14/src/.libs/libcairo.so ../src/.libs/libcairo.so -lpthread -lpixman-1 -lfontconfig -lfreetype -lEGL -ldl -lpng15 -lz -lGL -lrt -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../boilerplate/.libs/libcairoboilerplate.a(cairo-boilerplate-glx.o): undefined reference to symbol 'XCreateColormap' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'XCreateColormap' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line /usr/lib64/libX11.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status *** Bug 497796 has been marked as a duplicate of this bug. *** Figured it out. Compiling without xscreensaver useflag causes build to fail. Confirmed on two different ~amd64 systems. |