[Geany] Compiling on Fedora 13 - X11 link errors
Ross McKay
rosko at xxxxx
Fri Sep 17 22:40:23 UTC 2010
G'day,
In case I'm not the only one who didn't know this, the current SVN
version will only compile against the current Fedora 13 stable if you
explicitly tell it to link an extra library (libX11).
This is what you get with a standard autogen.sh / make:
/usr/bin/ld: ui_utils.o: undefined reference to symbol 'XFree'
/usr/bin/ld: note: 'XFree' 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
Running the following from the shell before config and compile fixes
this:
export LDFLAGS=-lX11
This is why:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
cheers,
Happy User of Geany :)
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
More information about the Users
mailing list