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: "Sabherwal, Balvinder (MBS)" <Balvinder dot Sabherwal at mortgagefamily dot com>
Subject: compilation error for script
Date: May 3 2002 11:39AM

I'm getting an error as below while trying to compile a perl script. Anyone
had faced a similar issue and know how to resolve??


njsundb25 /export/home/sabherb > perlcc x.pl
/var/tmp/cc5vQZyl.o: In function `dl_init':
/var/tmp/cc5vQZyl.o(.text+0x143ca8): undefined reference to
`boot_Sybase__CTlib'
collect2: ld returned 1 exit status

The script is as below :

#!/usr/local/ActivePerl-5.6/bin/perl
use Sybase::CTlib;

$dbh = Sybase::CTlib->ct_connect('usr','pwd',server);

if($dbh eq undef)
{
        print "Connection Failed to Server\n";
}
else
{
        print "Connection OK to Server\n";     
}

Thanks
Bal.