libglibjni-0.4.so should depend on libgobject
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| glib-java (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
If you run
$ objdump -x /usr/lib/
NEEDED libglib-2.0.so.0
NEEDED libc.so.6
A practical example (from running azureus when the required modules have been fixed) is:
java.
Steps which add libgobject to the requirements:
1. Add the following lines to configure.ac
PKG_CHECK_
AC_SUBST(
AC_SUBST(
2. Run autoconf
3. Add $(GOBJECT_CFLAGS) to AM_CFLAGS in Makefile.am
4. Add $GOBJECT_LIBS) to libglibjni_
5. Copy the existing aclocal.m4 to a file in the macros/ directory.
5. Run automake
After this, building the package results in a more correct library:
$ objdump -x /usr/lib/
NEEDED libgobject-2.0.so.0
NEEDED libglib-2.0.so.0
NEEDED libc.so.6
Now azureus gets further in running:
java.
... showing that this problem, at least, has been fixed.

The original bug in azureus is bug 57875. While working out how to fix that, it seems that azureus will work even if this bug isn't fixed (other required libraries already have a DT_NEEDED dependency on libgobject-2.0).
So this doesn't need to be fixed for that java package, but I'd still consider it a bug.