PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Tim Vernum <Tim dot Vernum at macquarie dot com>
Subject: RE: DBlib error
Date: Oct 4 2001 3:41AM

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.