Subject: pkg/10945: xchat broken on a.out
To: None <gnats-bugs@gnats.netbsd.org>
From: Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
List: netbsd-bugs
Date: 09/04/2000 07:46:18
>Number: 10945
>Category: pkg
>Synopsis: xchat broken on a.out
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 04 07:47:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Lex Wennmacher
>Release: <NetBSD-current source date> NetBSD-1.4.2/i386 (a.out)
>Organization:
The Echelon Network
>Environment:
System: NetBSD blue.geo.Uni-Koeln.DE 1.4.2 NetBSD 1.4.2 (BLUE) #13: Tue Jul 11 13:32:50 MEST 2000 wennmach@blue.geo.Uni-Koeln.DE:/usr/src/sys/arch/i386/compile/BLUE i386
>Description:
xchat (version 1.5.7) builds, but does not run on NetBSD-1.4.2/i386.
Presumably, this is an a.out problem.
Upon invoking xchat, the following error is reported:
blue> ./xchat
/usr/libexec/ld.so: Undefined symbol "_gnome_app_id" in xchat:/usr/X11R6/lib/libgnomeui.so.43.2
This seems not to be an xchat related problem, but rather a gnome problem (see
below under Fix:)
>How-To-Repeat:
Build version 1.5.7 on an a.out machine and try to run it.
>Fix:
Don't know exactly from where xchat gets it, but the order specified for the
gnome libraries while linking xchat is wrong:
cc -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/include -I/usr/pkg/include/glib -I/usr/pkg/include/python1.5 -I/usr/pkg/lib/glib/include -I/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -O2 -Wall -g -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o xchat about.o ascii.o chanlist.o dccgui.o dialog.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o maingui.o menu.o notifygui.o palette.o pixmaps.o plugingui.o rawlog.o search.o serverlist.o settings.o textgui.o usermenu.o urlgrab.o userlistgui.o xtext.o ../common/libxchatmain.a -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -L/usr/pkg/lib/python1.5/config -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -lICE -lSM -lX11 -lXext -lXi -lart_lgpl -laudiofile -lcrypt -lesd -lgdk -lgdk_imlib -lgdk_pixbuf -lglib -lgmodule -lgn!
ome -lgnomesupport -lgnomeui -lgtk -lintl -ljpeg -lm -lossaudio -lperl -lpng -lpthread -lpython1.5 -ltiff -lungif -lutil -lz -lzvt /usr/pkg/lib/perl5/i386-netbsd/5.00404/auto/DynaLoader/DynaLoader.a
should rather be:
cc -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/include -I/usr/pkg/include/glib -I/usr/pkg/include/python1.5 -I/usr/pkg/lib/glib/include -I/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -O2 -Wall -g -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o xchat about.o ascii.o chanlist.o dccgui.o dialog.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o maingui.o menu.o notifygui.o palette.o pixmaps.o plugingui.o rawlog.o search.o serverlist.o settings.o textgui.o usermenu.o urlgrab.o userlistgui.o xtext.o ../common/libxchatmain.a -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -L/usr/pkg/lib/python1.5/config -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -lICE -lSM -lX11 -lXext -lXi -lart_lgpl -laudiofile -lcrypt -lesd -lgdk -lgdk_imlib -lgdk_pixbuf -lglib -lgmodule -lgn!
omesupport -lgnomeui -lgnome -lgtk -lintl -ljpeg -lm -lossaudio -lperl -lpng -lpthread -lpython1.5 -ltiff -lungif -lutil -lz -lzvt /usr/pkg/lib/perl5/i386-netbsd/5.00404/auto/DynaLoader/DynaLoader.a
(sorry for the long line, in essence the order of the gnome libs should be
"-lgnomesupport -lgnomeui -lgnome')
>Release-Note:
>Audit-Trail:
>Unformatted: