Bug#252209: glade-2: FTBFS - /usr/bin/ld: cannot find -lX11
Christopher L Cheney
Christopher L Cheney <ccheney@debian.org>, 252209@bugs.debian.org
Tue, 01 Jun 2004 21:58:52 -0500
Package: glade-2
Version: 2.6.0-2
Severity: serious
glade-2 fails to build from source, this may be caused by a library it
depends on needing the dependency and forgetting to set in its -dev
package, or perhaps glade-2 needs to be relibtoolized like the rest of
gnome was so that it doesn't try to do recursive linking. Or maybe it
really needs the library itself and previously got by without an
explicit build depends. Sebastien Bacher can probably help you with
determining which case this is if you need help.
Thanks,
Chris Cheney
gcc -g -O2 -o glade-2 debug.o editor.o gb.o gbwidget.o glade_widget_data.o gbsource.o glade.o glade_atk.o glade_clipboard.o glade_gnome.o glade_gnomelib.o glade_gnomedblib.o glade_gtk12lib.o glade_keys_dialog.o glade_menu_editor.o glade_palette.o glade-parser.o glade_plugin.o glade_project.o glade_project_options.o glade_project_view.o glade_project_window.o keys.o load.o main.o palette.o property.o save.o source.o source_os2.o styles.o tree.o utils.o -Wl,--export-dynamic gbwidgets/libgbwidgets.a /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[5]: *** [glade-2] Error 1
make[5]: Leaving directory `/root/testing/glade-2-2.6.0/glade'
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.6-bk2-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8