After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609553 - Fix linking with LCMS support enabled
Fix linking with LCMS support enabled
Status: RESOLVED DUPLICATE of bug 609184
Product: eog
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-10 16:30 UTC by Bastien Nocera
Modified: 2010-02-11 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix linking with LCMS support enabled (1.20 KB, patch)
2010-02-10 16:30 UTC, Bastien Nocera
none Details | Review
Fix linking with LCMS support enabled (1.54 KB, patch)
2010-02-10 17:20 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2010-02-10 16:30:25 UTC
SSIA
Comment 1 Bastien Nocera 2010-02-10 16:30:27 UTC
Created attachment 153427 [details] [review]
Fix linking with LCMS support enabled

We use libX11 functions, so we need to link against them.

/usr/bin/ld: ./.libs/libeog.a(libeog_la-eog-window.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
Comment 2 Bastien Nocera 2010-02-10 17:20:47 UTC
Created attachment 153432 [details] [review]
Fix linking with LCMS support enabled

We use libX11 functions, so we need to link against them.

/usr/bin/ld: ./.libs/libeog.a(libeog_la-eog-window.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
Comment 3 Daniel Macks 2010-02-11 11:07:24 UTC
"x11 via pkgconfig" may not be portable enough. See Bug #609184 (of which this is a dup)
Comment 4 Bastien Nocera 2010-02-11 14:55:21 UTC
Right, not that I care that much about old versions of X.

*** This bug has been marked as a duplicate of bug 609184 ***