Bug 238572 - pidgin: symbol lookup error: pidgin: undefined symbol: purple_core_migrate
Summary: pidgin: symbol lookup error: pidgin: undefined symbol: purple_core_migrate
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pidgin
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Warren Togami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-01 15:26 UTC by James Laska
Modified: 2013-09-02 06:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-01 17:14:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Laska 2007-05-01 15:26:45 UTC
# RPM pidgin-2.0.0-0.36.beta7.fc7.i386

$ pidgin 
pidgin: symbol lookup error: pidgin: undefined symbol: purple_core_migrate

> ldd -r /usr/bin/pidgin | grep "undefined"
undefined symbol: purple_imgstore_ref_by_id     (/usr/bin/pidgin)
undefined symbol: purple_buddy_icons_set_account_icon   (/usr/bin/pidgin)
undefined symbol: purple_imgstore_add_with_id   (/usr/bin/pidgin)
undefined symbol: purple_imgstore_unref_by_id   (/usr/bin/pidgin)
undefined symbol: purple_imgstore_find_by_id    (/usr/bin/pidgin)
undefined symbol: purple_buddy_icon_get_extension       (/usr/bin/pidgin)
undefined symbol: purple_core_migrate   (/usr/bin/pidgin)
undefined symbol: purple_buddy_icons_has_custom_icon    (/usr/bin/pidgin)
undefined symbol: purple_buddy_icons_find_account_icon  (/usr/bin/pidgin)
undefined symbol: purple_buddy_icons_find_custom_icon   (/usr/bin/pidgin)
undefined symbol: purple_buddy_icons_set_custom_icon    (/usr/bin/pidgin)

Looks like we should be linking against /usr/lib/libpurple.so.0 but that linkage
does not appear to have been made?

Comment 1 Luke Schierer 2007-05-01 15:29:59 UTC
does running ldconfig as root fix this?


Comment 2 James Laska 2007-05-01 15:42:26 UTC
> does running ldconfig as root fix this?

No, it does not help.  I believe this is a case of symbols changing in libpurple.

pidgin is correctly linking against libpurple:

$ ldd /usr/bin/pidgin  | grep purple
  libpurple.so.0 => /usr/lib/libpurple.so.0 (0x00683000)

However, libpurple isn't exporting the symbols noted in comment#0 any longer. 
For example... going through the list of undefined symbols above I see they are
no longer provided by libpurple.

# purple_imgstore_ref_by_id
$ strings /usr/lib/libpurple.so.0 | grep purple_imgstore_ref_by_id

# Looking at all the symbols noted in comment#0 ...
$ ldd -r /usr/bin/pidgin 2>&1 | grep undefined | while read LINE ; do set --
$LINE; SYMBOL=$3; echo -n " - $SYMBOL - "; strings /usr/lib/libpurple.so.0 |
grep -q $SYMBOL && echo FOUND || echo MISSING; done
 - purple_imgstore_ref_by_id - MISSING
 - purple_buddy_icons_set_account_icon - MISSING
 - purple_imgstore_add_with_id - MISSING
 - purple_imgstore_unref_by_id - MISSING
 - purple_imgstore_find_by_id - MISSING
 - purple_buddy_icon_get_extension - MISSING
 - purple_core_migrate - MISSING
 - purple_buddy_icons_has_custom_icon - MISSING
 - purple_buddy_icons_find_account_icon - MISSING
 - purple_buddy_icons_find_custom_icon - MISSING
 - purple_buddy_icons_set_custom_icon - MISSING


Comment 3 Stu Tomlinson 2007-05-01 15:55:10 UTC
What version of libpurple do you have installed?

Comment 4 James Laska 2007-05-01 16:04:40 UTC
Oops, sorry, neglected to include that in the first post.

libpurple-2.0.0-0.34.beta7devel.fc7.i386

Comment 5 Stu Tomlinson 2007-05-01 16:55:53 UTC
If you update to libpurple-2.0.0-0.36.beta7.fc7.i386 this will be fixed

Comment 6 Warren Togami 2007-05-01 17:14:39 UTC
We had to remove the Epoch at upstream's request.  You may upgrade with
--oldpackage or simply remove the packages before a reinstall.

Comment 7 James Laska 2007-05-01 17:57:18 UTC
That did the trick ... thanks!


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