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: "Sean Maley" <s dot maley at themunicenter dot com>
Subject: RE: Sybase upgrade kills DBD 1.04 installation
Date: Dec 19 2007 7:03PM

Rebuild with new open client still fails.  We tried this first, but
"make test" fails with the same message for multiple DBD::Sybase
versions.
 
sybase/dba/scripts  >
ldd
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBD/Sybase/Sybase
.so
        libct.so =>      /usr/local/sybase/OCS-12_5/lib/libct.so
        libcs.so =>      /usr/local/sybase/OCS-12_5/lib/libcs.so
        libtcl.so =>     /usr/local/sybase/OCS-12_5/lib/libtcl.so
        libcomn.so =>    /usr/local/sybase/OCS-12_5/lib/libcomn.so
        libintl.so =>    /usr/local/sybase/OCS-12_5/lib/libintl.so
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.1 =>     /lib/libm.so.1
        libc.so.1 =>     /lib/libc.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        /usr/platform/FJSV,GPUZC-M/lib/libc_psr.so.1
 
sybase/dba/scripts  >
cat ~/interfaces
SYBDB
        master tcp ether drhost 4400
        query tcp ether drhost 4400
 
To reiterate, this works fine on other servers with the same OS, ESD,
DBI, and DBD.  The only differences that show up in truss pertain to the
platform, perl version, and maybe LD_LIBRARY_PATH (though no differences
germane to what appears in truss output).  The ESD was applied
consistent with the previous two installations.  This suggests either
the perl build, or platform specific issues.
 
 
-Sean.

________________________________

From: michael.x.peppler   
Subject: Re: Sybase upgrade kills DBD 1.04 installation

There could be various issues. 

First - have you rebuilt DBD::Sybase with the new OpenClient? 

Second - if you haven't rebuilt - is the Sybase.so file linked to
libtli.so (you can use ldd to find that out). 

Third - what is the format of the interfaces file entry for the
connection that fails ? Is it a tli format, or a standard hostname/port
? 

Michael