[Bug 46417] Gabble shouldn't install an unversioned library to ${libdir}

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 23 13:18:36 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46417

--- Comment #6 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-23 04:18:36 PST ---
Created attachment 57518
  --> https://bugs.freedesktop.org/attachment.cgi?id=57518
Build Wocky as a version-specific shared library

---

This is part 2 of the alternative approach; the Wocky submodule update is part
1. This also builds OK with -Bsymbolic, etc.

When installed it looks something like this:

/usr/local/libexec/telepathy-gabble
/usr/local/lib/telepathy/gabble-0/libconsole.so (etc.)
/usr/local/lib/libgabble-plugins-0.15.4.1.so
/usr/local/lib/libwocky-telepathy-gabble-0.15.4.1.so
# these symlinks would not be packaged in distributions, in practice
/usr/local/lib/libwocky.so -> libwocky-telepathy-gabble-0.15.4.1.so
/usr/local/lib/libgabble-plugins.so -> libgabble-plugins-0.15.4.1.so

Shared library linkages:

% objdump -x /home/smcv/tmp/usr/local/libexec/telepathy-gabble | grep NEEDED
  NEEDED               libgabble-plugins-0.15.4.1.so
  NEEDED               libdbus-glib-1.so.2
  NEEDED               libdbus-1.so.3
  NEEDED               libwocky-telepathy-gabble-0.15.4.1.so
  NEEDED               libxml2.so.2
  NEEDED               libsqlite3.so.0
  NEEDED               libgnutls.so.26
  NEEDED               libtelepathy-glib.so.0
  NEEDED               libsoup-2.4.so.1
  NEEDED               libgio-2.0.so.0
  NEEDED               libnice.so.10
  NEEDED               libgobject-2.0.so.0
  NEEDED               libgthread-2.0.so.0
  NEEDED               libgmodule-2.0.so.0
  NEEDED               librt.so.1
  NEEDED               libglib-2.0.so.0
  NEEDED               libpthread.so.0
  NEEDED               libc.so.6

% objdump -x /home/smcv/tmp/usr/local/lib/libgabble-plugins-0.15.4.1.so | grep
NEEDED 
  NEEDED               libdbus-glib-1.so.2
  NEEDED               libdbus-1.so.3
  NEEDED               libwocky-telepathy-gabble-0.15.4.1.so
  NEEDED               libtelepathy-glib.so.0
  NEEDED               libsoup-2.4.so.1
  NEEDED               libgio-2.0.so.0
  NEEDED               libnice.so.10
  NEEDED               libgobject-2.0.so.0
  NEEDED               libgthread-2.0.so.0
  NEEDED               libgmodule-2.0.so.0
  NEEDED               librt.so.1
  NEEDED               libglib-2.0.so.0
  NEEDED               libpthread.so.0
  NEEDED               libc.so.6

% objdump -x
/home/smcv/tmp/usr/local/lib/libwocky-telepathy-gabble-0.15.4.1.so|grep NEEDED
  NEEDED               libgio-2.0.so.0
  NEEDED               libgobject-2.0.so.0
  NEEDED               libgmodule-2.0.so.0
  NEEDED               libgthread-2.0.so.0
  NEEDED               librt.so.1
  NEEDED               libglib-2.0.so.0
  NEEDED               libxml2.so.2
  NEEDED               libsqlite3.so.0
  NEEDED               libgnutls.so.26
  NEEDED               libpthread.so.0
  NEEDED               libc.so.6

% objdump -x /home/smcv/tmp/usr/local/lib/telepathy/gabble-0/libconsole.so|grep
NEEDED
  NEEDED               libpthread.so.0
  NEEDED               libc.so.6

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list