[Geany] Compiling on Fedora 13 - X11 link errors

Dominic Hopf dmaphy at xxxxx
Sun Sep 19 19:03:52 UTC 2010


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/

-- 
Dominic Hopf <dmaphy at googlemail.com>

http://dominichopf.de/

Key Fingerprint:
A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.geany.org/pipermail/users/attachments/20100919/0d00275d/attachment.pgp>


More information about the Users mailing list