|
|
sybperl-l Archive
Up Prev Next
From: Peter ng <petnghkg at yahoo dot com>
Subject: RE: DBlib error
Date: Oct 5 2001 12:26AM
Hi Tim,
Thanks a billion for your suggestion. I have installed
a newer verion of perl(5.00502) on the Unix machine
running Solaris 2.5.1. Then the user got another error
like below.
Can't load
'/opt/perl5/lib/site_perl/sun4-solaris/auto/Sybase/DBlib/DBlib.so'
for module Sybase::DBlib: ld.so.1:
/usr/local/bin/perl5: fatal: relocation error: file
/opt/perl5/lib/site_perl/sun4-solaris/auto/Sybase/DBlib/DBlib.so:
symbol Perl_Xpv: referenced symbol not found at
/opt/perl5/lib/5.00502/sun4-solaris/DynaLoader.pm line
168.
Do you have any idea? I have traced DynaLoader.pm on
line 168 but seems very difficult to follow.
Thanks again anyway,
Pet
--- Tim Vernum wrote:
>
> From: Peter ng [mailto:petnghkg@yahoo.com]
>
> > Could some experts help me out with the following
> > error message?
> >
> > ld.so.1: /usr/local/bin/perl5: fatal: relocation
> > error: file
> >
>
/usr/local/lib/perl5/site_perl/sun4-solaris/auto/Sybase/DBlib/
> > DBlib.so:
> > symbol Perl_form: referenced symbol not found
> > Killed
>
> Ths is an error coming from the linker/loader in
> Solaris.
> The perl DBlib library needs to import Perl_form.
>
> In my case (Solaris 2.6, perl 5.004, DBlib 1.31)
>
> $ nm -u DBlib.so | fgrep Perl_form
> Perl_form
>
> (nm -u prints undefined symbols)
>
> $ nm perl | fgrep Perl_form
> [1660] | 294696| 128|FUNC |GLOB |0 |7
> |Perl_form
>
> (Here Perl_form is marked as a global function)
>
> You should check that your perl binary has Perl_form
> defined.
> If not, then it is either old, or strangely built.
>
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
|