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 peppler dot org>
Subject: Re: Can't connect to the server using Sybase::DBlib
Date: Jun 6 2002 5:24PM

On Thu, 2002-06-06 at 09:56, Abhin Parkhi wrote:
> Sybperl was installed on this box. It was not copied
> from any other machine.
> 
> Actually the full error in the previous posting looks
> like this.
> 
> Can't load
> '/usr/lib/perl-5.6.0/lib/site_perl/5.6.0/alpha-dec_osf/auto/Sybase/CTlib/CTlib.so'
> for module Sybase::CTlib:
> dlopen: Cannot map library libdnet.so at
> /usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf/DynaLoader.pm
> line 200.           
>  at arp.pl line 3                                     

Maybe the LD_LIBRARY_PATH variable isn't set correctly?

Did sybperl pass all the tests during the build?

Michael


> --- Michael Peppler  wrote:
> > Ah.
> > 
> > But did you install Sybperl on this box, or did you
> > copy it over from
> > some other machine?
> > 
> > or did you upgrade the OS?
> > 
> > Michael
> > 
> > On Thu, 2002-06-06 at 09:50, Abhin Parkhi wrote:
> > > When I use CTlib,
> > > 
> > > I get this error
> > > Can't load
> > >
> >
> '/usr/lib/perl-5.6.0/lib/site_perl/5.6.0/alpha-dec_osf/auto/Sybase/CTlib/CTlib.so'
> > > for module Sybase::CTlib:
> > > 
> > > Thanks!
> > > 
> > > -- Abhin
> > > 
> > > --- Michael Peppler  wrote:
> > > > On Thu, 2002-06-06 at 09:25, Abhin Parkhi wrote:
> > > > > We have Sybase::DBlib installed on a Compaq
> > > > > Alphaserver running Tru64 Unix 5.1a.
> > > > > Whlile running the following code
> > > > > 
> > > > > use Sybase::DBlib;
> > > > > use English;
> > > > > 
> > > > > $dbh = new Sybase::DBlib "ssssa", "xx",
> > > > > "xxxx","ping.pl" or die "$OS_ERROR\n";
> > > > > 
> > > > > It is giving 'Invalid Argument'.
> > > > 
> > > > Hmmm.... I seem to remember this sort of problem
> > > > cropping up before. I
> > > > think it has something to do with the network
> > > > libraries, but I'm really
> > > > not sure.
> > > > 
> > > > Could you try to code the same script with CTlib
> > and
> > > > see if that works?
> > > > 
> > > > Michael
> > > > -- 
> > > > Michael Peppler / mpeppler@peppler.org /
> > > > http://www.mbay.net/~mpeppler
> > > > mpeppler@zetatools.com / ZetaTools, Inc /
> > > > http://www.zetatools.com
> > > > ZetaTools: Call perl functions as Sybase stored
> > > > procedures!
> > > > 
> > > 
> > > > ATTACHMENT part 2 application/pgp-signature
> > > name=signature.asc
> > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > http://fifaworldcup.yahoo.com
> > > 
> > > 
> > -- 
> > Michael Peppler / mpeppler@peppler.org /
> > http://www.mbay.net/~mpeppler
> > mpeppler@zetatools.com / ZetaTools, Inc /
> > http://www.zetatools.com
> > ZetaTools: Call perl functions as Sybase stored
> > procedures!
> > 
> 
> > ATTACHMENT part 2 application/pgp-signature
> name=signature.asc
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
-- 
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!