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 MBAY dot NET>
Subject: Re: Newbie problem compiling
Date: Oct 19 1998 6:29PM

Gianfranco Cecconi wrote:
> 
> I'm trying to compile Sybperl 2.09 on a RedHat Linux 5.1 .
> 

> cc -L/usr/local/lib -rdynamic -o perl -O2 ./perlmain.o
> /usr/lib/perl5/i386-linux/5.00404/CORE/libpe
> rl.a /usr/lib/perl5/i386-linux/5.00404/auto/DynaLoader/DynaLoader.a
> /root/sybperl-2.09/blib/arch/aut
> o/Sybase/DBlib/DBlib.a
> /root/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTlib.a `cat
> ./blib/arch/auto/
> Sybase/extralibs.all` -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix
> -lcrypt
> ld: cannot open -lgdbm: No such file or directory

My guess is that you are using a copy of perl that was not built on
your system. It thinks that libgdbm is available, but you haven't
installed
that library (or at least ld can't find it).

Try building sybperl in dynamic mode and see if that solves the problem.

(ie edit CONFIG and comment out the LINKTYPE line, then rebuild from 
scratch - starting with perl Makefile.PL).

Michael