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: Michael Peppler <mpeppler at mbay dot net>
Subject: Re: Sybperl perl5 problems
Date: Oct 30 1998 10:02PM

Doug K Silver writes:
 > Thanks for the hint Michael!  I had set it to /sybase/sybase but
 > this is actually a symlink to /sybase/sybase100.  It found all 
 > the libraries once I changed it - guess it didn't like the symlink.
 > 
 > (I'm testing this on sybperl-2.09_05.)
 > 
 > However, it still fails the "make test":
 > 
 > t/bcp...............Can't load '../blib/arch/auto/Sybase/DBlib/DBlib.so' for 
 > module Sybase::DBlib: ld.so.1: /pub/bin/perl: fatal: relocation error: symbol 
 > not found: dbsetdefcharset: referenced in 

Hmmm - you must have an older version of DBlibrary for some reason.

Try this:

strings $SYBASE/lib/libsybdb.a | grep -i sybase | grep DB-L

You should get something like:

kiruna (1:59pm):5 > strings /opt/sybase-10.x/lib/libsybdb.a | grep -i sybase | grep DB-L   
Sybase DB-Library/10.0.3/P/sun_svr4/SPARC Solaris 2.3/1/Thu Jul 20 22:40:38 PDT 1995

which shows my DBlibrary to be a 10.0.3 release.

You must have an earlier release for some reason, in which case you
should set DBLIBVS=461 in the CONFIG file and rebuild.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com