Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 09:34:27 -0400 (EDT)
From:      "Viren R. Shah" <viren@rstcorp.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Perl problems?
Message-ID:  <199809221334.JAA13374@jabberwock.rstcorp.com>

next in thread | raw e-mail | index | archive | help

[I'm not quite sure whether this is a -current problem i.e. a problem
withthe perl5 build in -current. If not, just tell me where this
should be asked]


I'm running -current/ELF as of Sunday. I'm trying to install the
pilot-link port (and specifically one of the Perl modules that doesn't
get installed by default -- the PDA:Pilot module. It gets installed
fine in /usr/local/lib/perl/5.00502/i386-freebsd/{auto,PDA}

However, when I try to run the test program that comes along with the
application, it bombs on me with:

[vshah]/usr/ports/comms/pilot-link/work/pilot-link.0.8.13/Perl5# perl ./test.pl
Can't load '/usr/local/lib/perl/5.00502/i386-freebsd/auto/PDA/Pilot/Pilot.so' for module PDA::Pilot: /usr/local/lib/perl/5.00502/i386-freebsd/auto/PDA/Pilot/Pilot.so: Undefined symbol "PL_sv_undef" at /usr/libdata/perl/5.00502/mach/DynaLoader.pm line 168.

 at ./test.pl line 3


Not being a perl master, I grepped for the "PL_sv_undef" symbol
through the /usr/local/lib/perl/5.00502 hierarchy, and it turns up
several times. Anyone got any ideas?
The test.pl script is simply:

--------
sub FooBar { print "Foo: $_[0]\n"; $x = $_[0]; $x =~ s/[aeiou]/\U$&/g; return $x
 };

use PDA::Pilot;
use Data::Dumper;

...
--------


I also get a core dump if I check for the existence of the
Data::Dumper module (which is installed by default in 5.00502).


[vshah@jabberwock] ~> perl -d -e "use Data::Dumper"

Loading DB routines from perl5db.pl version 1.0401
Emacs support available.

Enter h or `h h' for help.

Signal SEGV at -e line 1
        main::BEGIN() called at /usr/libdata/perl/5.00502/overload.pm line 0
        eval {...} called at /usr/libdata/perl/5.00502/overload.pm line 0
Abort (core dumped)


Thanks
Viren
-- 
Viren R. Shah
"Design is the successful application of constraints until
 only an unique product is left" -- Richard W. Pew 
(from "The Design of Everday Things" by Don Norman)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809221334.JAA13374>