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 :)
Am Samstag, den 18.09.2010, 08:40 +1000 schrieb Ross McKay:
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 :)
I stumbled over this last night too, but didn't find time yet to point out what the issue was. This fixes the builds for me, too. Thanks very much! :)
Hopefully, also the F13 SRPM nightly [1] also builds with this fix again.
Regards, Dominic
[1] http://geany.nightlybuilds.org/fedora/repo/13/SRPMS/
On Sat, 18 Sep 2010 08:40:23 +1000 Ross McKay rosko@zeta.org.au wrote:
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:
Thanks for reporting this. There is currently another issue with the workspace sockets commit, so I'll either revert it or add a configure check for X11.
Regards, Nick
On Sat, 18 Sep 2010 08:40:23 +1000 Ross McKay rosko@zeta.org.au wrote:
/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
Should be fixed now in trunk, thanks.
Regards, Nick
Nick Treleaven wrote:
Should be fixed now in trunk, thanks.
Thanks Nick, I can confirm successful build on a fully patched Fedora 13 x86-64.
cheers, Ross -- Ross McKay, Toronto, NSW Australia "The lawn could stand another mowing; funny, I don't even care" - Elvis Costello