liblauncher doesn't build on Fedora 13 (implicit DSO linking)

Bug #580194 reported by Mathieu Bridon on 2010-05-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
liblauncher
Undecided
Unassigned

Bug Description

Since Fedora 13, we changed the way we handle implicit DSO linking:
    http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

To make it short (and probably half-true), libs must now be specified explicitly to the linker. More complete informations available at the above feature page or below:
    https://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Because of that, building liblauncher fails on Fedora 13 with the following error message:
  LINK test-liblauncher
/usr/bin/ld: test_liblauncher-test-liblauncher.o: undefined reference to symbol 'gtk_init'
/usr/bin/ld: note: 'gtk_init' is defined in DSO /usr/lib64/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib64/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [test-liblauncher] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.ukjQHw (%build)

description: updated
Mathieu Bridon (bochecha) wrote :

Attached patch allows building liblauncher.

Courtesy of Pikachu_2014 of #fedora-fr fame.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers