Perl-Gtk on Digital Unix? (Segmentation fault)
- From: Stephane Bortzmeyer <bortzmeyer pasteur fr>
- To: gtk-list redhat com
- Subject: Perl-Gtk on Digital Unix? (Segmentation fault)
- Date: Wed, 24 Jun 1998 14:37:49 +0200
[I don't think there is a mailing list specialized in the Perl module
Gtk?]
I try to install Perl-Gtk on Digital Unix but "make test" fails:
nefertiti:~/tmp/Gtk-0.2_03 > make test
PERL_DL_NONLAZY=1 /local/bin/perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5/alpha-dec_osf/5.00403 -I/usr/local/lib/perl5
test.pl
** ERROR **: sigsegv caught
/bin/sh: 28635 Abort
make: *** [test_dynamic] Error 134
Running perl from gdb, I can see the segmentation fault is in
/usr/local/lib/libgtk.so. dbx tells me more:
(dbx) run -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/alpha-dec_osf/
5.00403 -I/usr/local/lib/perl5 test.pl
thread 0xa signal Segmentation fault at [gtk_object_check_cast:6
+0x3dfc,0x300000bb90c] Source not available
Now, I'm not really an expert on debugging shared libraries. I built a
'.a' version of gtk+ (./configure --enable-debug --disable-shared) but I
don't know how to tell Perl-Gtk to use it? If I link Perl's Gtk.so by
hand with the static gtk+ library, I get:
nefertiti:~/tmp/Gtk-0.2_03 > make test
PERL_DL_NONLAZY=1 /local/bin/perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5/alpha-dec_osf/5.00403 -I/usr/local/lib/perl5
test.pl
Can't load './blib/arch/auto/Gtk/Gtk.so' for module Gtk: dlopen:
Unresolved symbols at /usr/local/lib/perl5/alpha-dec_osf/5.00403/DynaLoade
r.pm line 155.
Any help appreciated.
Environment:
Digital Unix 4.0B
Perl 5.004_03 (compiled with Digital's cc, not my choice)
gtk+ 1.0.4 (compiled with egcs 1.0.2, works fine with Gimp)
Gtk 0.2_03 or 0.2.2 (compiled with Digital's cc, because it's how
MakeMaker do it)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]