Bug#556888: libxpcomglue missing dependency on libdl

Ben Hutchings ben at decadent.org.uk
Wed Nov 18 02:37:55 UTC 2009


Package: xulrunner-dev
Version: 1.9.1.5-1
Severity: minor

Some of the error messages in bug #556760 suggest that
mozilla-gtkmozembed-embedding.pc (and others?) should include '-ldl' on
the libs line.

Ben.

-------- Forwarded Message --------
From: Peter Fritzsche <peter.fritzsche at gmx.de>
Reply-to: Peter Fritzsche <peter.fritzsche at gmx.de>, 556760-maintonly at bugs.debian.org
To: maintonly at bugs.debian.org
Subject: Bug#556760: FTBFS with binutils-gold
Date: Tue, 17 Nov 2009 19:21:51 +0100

Source: videolink
Version: 1.2.9-2
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

Objects inside an .a archive aren't linked yet. This means that you must resolve
their symbols when linking to a program.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

g++ .objs/auto_proc.o .objs/browser_widget.o .objs/child_iterator.o .objs/event_state_manager.o .objs/generate_dvd.o .objs/link_iterator.o .objs/null_prompt_service.o .objs/pixbufs.o .objs/style_sheets.o .objs/temp_file.o .objs/video.o .objs/vob_list.o .objs/videolink.o .objs/warp_pointer.o .objs/x_frame_buffer.o .objs/xml_utils.o .objs/xpcom_support.o .objs/jquant2.o -lpthread -L/usr/lib/xulrunner-devel-1.9.1/lib -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxpcomglue    -lexpat -g -o videolink
/usr/bin/ld: .objs/warp_pointer.o: in function warp_pointer(Glib::RefPtr<Gdk::Window> const&, int, int):warp_pointer.cpp:15: error: undefined reference to 'XWarpPointer'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function XPCOMGlueLoadXULFunctions:(.text+0x42): error: undefined reference to 'dlsym'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function XPCOMGlueUnload():(.text+0x7f): error: undefined reference to 'dlclose'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function XPCOMGlueUnload():(.text+0xb3): error: undefined reference to 'dlclose'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function XPCOMGlueLoad(char const*):(.text+0x127): error: undefined reference to 'dlopen'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function XPCOMGlueLoad(char const*):(.text+0x144): error: undefined reference to 'dlopen'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function XPCOMGlueLoad(char const*):(.text+0x182): error: undefined reference to 'dlsym'
/usr/bin/ld: /usr/lib/xulrunner-devel-1.9.1/lib/libxpcomglue.a(nsGlueLinkingDlopen.o): in function ReadDependentCB(char const*):(.text+0x1db): error: undefined reference to 'dlopen'
collect2: ld returned 1 exit status
make[1]: *** [videolink] Error 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20091118/5098de02/attachment.pgp>


More information about the pkg-mozilla-maintainers mailing list