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: Matthias Bannach <mbannach at ascend dot com>
Subject: Re: [Fwd: Ain't working.]
Date: Jan 17 1999 1:53AM

Hi Michael:

I put in another couple of hours today to figure out why it does not 
link - strange enough. Well I found that the symbol 'remove_xact' 
among a lot others like ( lots like 'db*', 'open_commit' etc.) do not 
exist in any of the libraries from sybase :

libblk.a          libcomn.so.10     libct.a           libinsck.async.a 
libintl.so.10
libblk.so.10      libcs.a           libct.so.10       libinsck.so.10   
libsybtcl.a
libcomn.a         libcs.so.10       libinsck.a        libintl.a        
libsybtcl.so.10

nor are they in any of my /usr/lib or /usr/local/lib dir. The strong
impression that I am missing the (some) essential library becomes apparent.

Can you give me another hint at where to look/what might be missing ?

Matthias

Michael Peppler wrote:
> 
> Matthias Bannach writes:
>  > I have been following the discussions for a while and already
>  > 3 multi hour approaches to get sybperl compiled on my linux box
>  > but - after some success I am stuck. No more ideas.
>  >
>  > If anybody got it working on Linux who might have had similar problems
>  > and some more ideas please drop me a line.
> 
> Is there a particular reason why you build *all* the extensions
> statically?
> 
>  > /usr/lib/perl5/5.00502/i686-linux/auto/B/B.a
>  > /sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a
>  > /sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/CTlib/CTlib.a
>  > /usr/lib/perl5/5.00502/i686-linux/CORE/libperl.a `cat
>  > blib/arch/auto/Sybase/extralibs.all` -ldl -lm -lc
>  > /sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o): In
>  > function `newdbh':
> 
> I think you should take a look at the extralibs.all file that is
> referenced in the link line. It's probably wrong.
> 
> Michael
> --
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
> Int. Sybase User Group  -||-  http://www.isug.com
> Sybase on Linux mailing list: ase-linux-list@isug.com

-- 
Matthias Bannach	Ascend Communications
mbannach@ascend.com	Network Management Division
ext.: 63609 		Phone: +49-6150-109409	Fax: +49-7141-895554