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

Re: Help with new version of xmedcon



Hi Andreas,

On Sun, Aug 18, 2013 at 10:27:50AM +0200, Andreas Moog 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.

Strange - basically strange at my side because I agree with Andrey
Rahmatullin that the linker needs explicitly specified libraries.

> > /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

Tanks, works - I have choosen to not care about the working non-chrooted
build which magically worked.

Kind regards

      Andreas.


-- 
http://fam-tille.de


Reply to: