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: FW: Unresolved symbol:blk_bid from Sybase.sl
Date: Apr 28 2005 5:32PM

On Thu, 2005-04-28 at 16:22, Chen, Meeilei wrote:
> I downloaded the DBD-Sybase-1.04_17.tar.gz from your site
> But tar -xv gave me the error message 
> Tar:blocksize=4 directory checksum error

Did you unzip (gzip format) first?

Michael


> 
> -----Original Message-----
> From: michael.peppler@bnpparibas.com
> [mailto:michael.peppler@bnpparibas.com] 
> Sent: Wednesday, April 27, 2005 9:38 AM
> To: psinnottie@aol.com
> Cc: Meeilei.Chen@kcc.com; sybperl-l@peppler.org
> Subject: Re: Unresolved symbol:blk_bid from Sybase.sl
> 
> 
> The problem is the missing -lblk library. Perl's default behavior of
> listing this as probably harmless is incorrect -
> the -lblk library is necessary to building DBD::Sybase. Unfortunately
> this
> library isn't always included in the
> server version of the OCS package. You may need to install the full SDK.
> Alternatively you can download DBD::Sybase 1.04 which should build
> without
> the -lblk dependency.
> 
> I should probably detect this situation and make the BLK dependency
> optional.
> 
> Michael
> 
> 
> 
> 
> Internet
> psinnottie@aol.com@peppler.org - 27/04/2005 16:27
> 
> 
> Sent by:    owner-sybperl-l@peppler.org
> 
> To:    Meeilei.Chen
> 
> cc:    sybperl-l
> 
> 
> Subject:    Re: Unresolved symbol:blk_bid from Sybase.sl
> 
> 
> On Wed, Apr 27, 2005 at 08:13:15AM -0500, Chen, Meeilei wrote:
> >
> > > I installed Perl 5.8.6 on HP-UX 11.11. the installation came out
> > > clean.
> > > My Sybase is V12.5.1 and I am trying to install DBD::Sybase and
> > > DBI::Sybase
> > >
> > > I downloaded  DBI-1.48 and compiled it came out clean.
> > > I downloaded DBD-Sybase-1.05 and tried to compile but got problems
> in
> > > the make test step.
> > >
> > > While running perl Makefile.PL, there is a warning of "No library
> > > found for -lblk and -;d" but it said (probably harmless)
> > >
> > > During make step, one warning of: passing arg 2 of 'to_binary' from
> > > incompatible pointer type.
> > >
> > > During make test, lots of error, it all seems like related to:
> > > Unresolved symbol: blk_bid, blk_done, blk_describe, etc from
> Sybase.sl
> > > And the error is:
> > >
> > > Can't load 'blib/arch/auto/DBD/Sybase/Sybase.sl' for module
> > > DBD::Sybase: No such file or directory at
> > > /usr/local/lib/perl5/5.8.6/PA-RISC2.0/DynaLoader.pm
> 
> This error message usually related to perl not being able
> to find your openclient libs.
> 
> Try running chatr blib/arch/auto/DBD/Sybase/Sybase.sl
> This will tell you if SHLIB_PATH is enabled for the shared library
> and what libs it depends on.
> If any files are listed as not found and shlib_path is enabled
> then setting SHLIB_PATH to include the directory that contains
> the openclient( libcs.sl,libct.sl... ) should help
> perl(well really the system dynamic library loader) find it.
> 
> > >
> > >
> >
> >
> ------------------------------------------------------------------------
> ------
> 
> > This e-mail is intended for the use of the addressee(s) only and may
> contain privileged, confidential, or proprietary information that is
> exempt
> from disclosure under law.  If you have received this message in error,
> please inform us promptly by reply e-mail, then delete the e-mail and
> destroy any printed copy.   Thank you.
> >
> ========================================================================
> ======
> 
> >
> 
> --
> It is our mission to collaboratively revolutionize principle-centered
> sources
> 
> 
> 
> 
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential. 
> If you receive this message in error, please delete it and 
> immediately notify the sender. Any use not in accord with 
> its purpose, any dissemination or disclosure, either whole 
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message. 
> BNP PARIBAS (and its subsidiaries) shall (will) not 
> therefore be liable for the message if modified. 
> 
>                 ---------------------------------------------
> 
> Ce message et toutes les pieces jointes (ci-apres le 
> "message") sont etablis a l'intention exclusive de ses 
> destinataires et sont confidentiels. Si vous recevez ce 
> message par erreur, merci de le detruire et d'en avertir 
> immediatement l'expediteur. Toute utilisation de ce 
> message non conforme a sa destination, toute diffusion 
> ou toute publication, totale ou partielle, est interdite, sauf 
> autorisation expresse. L'internet ne permettant pas 
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce 
> message, dans l'hypothese ou il aurait ete modifie.
> 
> 
> ------------------------------------------------------------------------------
> This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.
> ==============================================================================
-- 
Michael Peppler  -  mpeppler@peppler.org  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html