Bug 198211 - ldd -r reports undefined symbols
ldd -r reports undefined symbols
Product: Fedora
Classification: Fedora
Component: gnome-pilot (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Matthew Barnes
: Reopened
: 237492 (view as bug list)
Depends On:
Blocks: FC7Target ldd-r-kh
  Show dependency treegraph
Reported: 2006-07-10 10:30 EDT by Karsten Hopp
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: gnome-pilot-2.0.15-8.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-24 10:50:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Bugzilla 431145 None None None Never

  None (edit)
Description Karsten Hopp 2006-07-10 10:30:06 EDT
Note: ldd can't handle dlopen'ed dependent libraries and these unresolved symbols
might be resolved by those. But this needs to be checked.
Reproducer: rpm -ql <packagename>| grep lib.*so | xargs ldd -r

undefined symbol: xmlFree       (/usr/lib/libgpilotdcm.so)
undefined symbol: g_str_hash    (/usr/lib/libgpilotdcm.so)
undefined symbol: g_str_equal   (/usr/lib/libgpilotdcm.so)
undefined symbol: g_free        (/usr/lib/libgpilotdcm.so)
undefined symbol: g_dir_close   (/usr/lib/libgpilotdcm.so)
undefined symbol: g_strdup_printf       (/usr/lib/libgpilotdcm.so)
undefined symbol: g_strcasecmp  (/usr/lib/libgpilotdcm.so)
undefined symbol: gtk_object_get_type   (/usr/lib/libgpilotdcm.so)
undefined symbol: gnome_config_clean_key_       (/usr/lib/libgpilotdcm.so)
undefined symbol: gnome_config_pop_prefix       (/usr/lib/libgpilotdcm.so)
Comment 1 Christopher Aillon 2007-04-17 15:22:39 EDT
Is this still an issue?  We should try and resolve this for f7...
Comment 2 Matthias Clasen 2007-04-17 18:56:29 EDT
yes, still happening. libgpilotdcm.so nees to be linked against (at least)
libxml, libgnome and glib, but it isn't.
Comment 3 Matthias Clasen 2007-04-18 01:06:00 EDT
Looks like the Makefile only adds the libs to the binaries, not to the libraries.
Comment 4 Matthew Barnes 2007-04-18 17:30:36 EDT
Mostly fixed in gnome-pilot-2.0.15-5.fc7.

There's still a few outliers:

   $ rpm -ql gnome-pilot-devel | grep lib.*so | xargs ldd -r | grep missing
   undefined symbol: gnome_pilot_conduit_sync_type_int_to_str      
   undefined symbol: gnome_pilot_conduit_sync_type_str_to_int      
   undefined symbol: gnome_pilot_conduit_set_name  (/usr/lib/libgpilotdcm.so)

but I think these can be a build order issue as mentioned in the README:

   * NOTE: Currently theres a buildorder bug between libgpilotdCM and
   * gpilotd. If you get a compiletime error in libgpilotdCM that file
   * "gpilotd/gnome-pilot-conduit.h" is missing, do a make -k and then
   * make again.

Closing this bug and forwarding the remaining issue upstream.
Comment 5 Matthew Barnes 2007-04-18 17:39:59 EDT
s|can be a build order issue|can be attributed to a build order issue|

Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=431145
Comment 6 Matthew Barnes 2007-04-23 15:01:34 EDT
Reopening since upstream has a fix for the remaining issue:
Comment 7 Matthew Barnes 2007-04-23 15:03:57 EDT
*** Bug 237492 has been marked as a duplicate of this bug. ***
Comment 8 Matthew Barnes 2007-04-23 18:10:28 EDT
Aw nuts.  Even with the upstream fix applied, we're still missing one:

   $ rpm -ql gnome-pilot-devel | grep lib.*so | xargs ldd -r > /dev/null
   undefined symbol: gnome_pilot_conduit_set_name  (/usr/lib/libgpilotdcm.so)

Applied the current fix to gnome-pilot-2.0.15-7.fc7.

Also reopened the upstream bug to get that last symbol taken care of.
Comment 9 Matthew Barnes 2007-04-24 10:50:42 EDT
Upstream has taken care of the last symbol, and I've backported the fix.

Fixed (for good) in gnome-pilot-2.0.15-8.fc7.

Note You need to log in before you can comment on or make changes to this bug.