Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Monty Scroggins <Monty dot Scroggins at wcom dot com>
Subject: Problem loading library
Date: Apr 26 2000 6:03PM

I am having a weird problem with DBI/DBD Sybase.    One of
the people in my group recently received a new workstation.
Her environment has been copied from the previous machine,
but she fails trying to use a DB interface I have written which
uses DBI/DBD sybase.   Sybase is installed on one of the network
machines and accessed via an NFS filesystem.   The SYBASE
environment variable points to this filesystem.   I cannot find any
difference in her environment compared to others who are able
to use the DB interface application.   She can isql to the database
and perform manual queries, the problem is only reported when
trying to use the DBI/DBD Sybase libraries.   The errors reported
indicate a library cant be loaded.   I have verified these files exist
with the path specified in the error message.

Does anyone have any ideas as to what I have missed?

The machine is a Sun Solaris 2.6 Ultra 5, 128 MB Ram.

Any help would be greatly appreciated..


This is the error text reported:
    DBI 1.12-nothread dispatch trace level set to 2
    Note: perl is running without the recommended perl -w option
    -> DBI->connect(dbi:Sybase:server=MYDB;hostname=testhost, user,
    -> DBI->install_driver(Sybase) for perl=5.00503 pid=1590 ruid=148
Tk::Error: install_driver(Sybase) failed: Can't load
'/net/pvcsserv01/sft/perl5/lib/site_perl/5.005/sun4-solaris/auto/DBD/Sybase/' for module DBD::Sybase:
/net/pvcsserv01/sft/gnu/bin/perl: fatal: open failed: No such file
or directory at
/net/pvcsserv01/sft/perl5/lib/5.00503/sun4-solaris/ line 169.

 at (eval 8) line 3

 at ./ line 2033
 Carp::croak at /net/pvcsserv01/sft/perl5/lib/5.00503/ line 279
 DynaLoader::croak at
/net/pvcsserv01/sft/perl5/lib/5.00503/sun4-solaris/ line 93
 DynaLoader::bootstrap at
/net/pvcsserv01/sft/perl5/lib/5.00503/sun4-solaris/ line 169
 Carp::croak at /net/pvcsserv01/sft/perl5/lib/5.00503/ line 279
 DBI::install_driver at
/net/pvcsserv01/sft/perl5/lib/site_perl/5.005/sun4-solaris/ line 469
 DBI::connect at
/net/pvcsserv01/sft/perl5/lib/site_perl/5.005/sun4-solaris/ line 376
 main::run_query at ./ line 2033
 main::check_cmd at ./ line 2020
 Tk callback for .frame1.button5
 Tk::__ANON__ at
/net/pvcsserv01/sft/perl5/lib/site_perl/5.005/sun4-solaris/ line 229
 Tk::Button::butUp at
/net/pvcsserv01/sft/perl5/lib/site_perl/5.005/sun4-solaris/Tk/ line
 (command bound to event)