[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with new version of xmedcon



On 17.08.2013 22:47, Andreas Tille wrote:

> Well, this is the Gtk library - but it does not explain why the linker
> might find it when using debuild (even in a manually created unstable
> chroot but fails when using pdebuild.  Usually this is an issue of a
> missing Build-Depends but I have no idea which one.

Well, I don't know why it works for you in a manually created chroot,
but it fails here as well.

> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0: error adding symbols: DSO missing from command line

This error tells that ld misses gtk from the linker command line.
Luckily, the configure script already uses the pkg-config autotools
macro to find the correct libs (Check for PKG_CHECK_MODULES(XMEDCON_GTK
in configure.ac), so it's just a matter of adding them to the linker
command:

--- xmedcon-0.13.0.orig/source/Makefile.am      2013-08-18
08:17:41.000000000 +0000
+++ xmedcon-0.13.0/source/Makefile.am   2013-08-18 08:20:04.222504575 +0000
@@ -91,7 +91,7 @@
 xmedcon_LDADD = $(APPICON_OBJ) libmdc.la
 xmedcon_LDFLAGS = -mwindows $(GDK_PIXBUF_LIBS) -lm
 else
-xmedcon_LDADD =  libmdc.la
+xmedcon_LDADD =  libmdc.la $(XMEDCON_GTK_LIBS)
 xmedcon_LDFLAGS = $(GDK_PIXBUF_LIBS) -lm
 endif

Cheers,
  Andreas

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: