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: 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..

Monty


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,
password)
    -> DBI->install_driver(Sybase) for perl=5.00503 pid=1590 ruid=148
euid=148
Tk::Error: install_driver(Sybase) failed: Can't load
'/net/pvcsserv01/sft/perl5/lib/site_perl/5.005/sun4-solaris/auto/DBD/Sybase/
Sybase.so' for module DBD::Sybase: ld.so.1:
/net/pvcsserv01/sft/gnu/bin/perl: fatal: libct.so: open failed: No such file
or directory at
/net/pvcsserv01/sft/perl5/lib/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at (eval 8) line 3

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