Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: linking sybperl on linux 2.0
Date: Sep 15 1997 2:32PM

Garry Trahern wrote:
> I really didn't want to bother you about this, but I haven't been able to find
> this referred to in the docs/faqs that I have been able to locate so far. I
> know this is got to be a trivial fix of some kind.
> I have been trying without success for several months to link sybperl on my
> redhat linux 4.1 (linux 2.x) release.
> The problem seems to be that at linking time all(?) of the standard unix
> libraries seem to have disappeared. References to memset, malloc, strcpy, free,
> sprintf, etc. are unresolved from ctlib functions.
> The default file in my 5.003 perl release uses ldflags as
> /usr/local/lib. In an act of desparation I changed this to /usr/lib since this
> where all the libraries actually are. There isn't anything in /usr/local/lib
> from redhat unless I put things there. This change did not make any difference
> (as I expected).
>  In redhat linux the tcl libraries are there, but there is not libtcl.a to
> worry about in /usr/lib, so I don't think this is the problem.
>  As I said, this has got to be a basic screwup. If you have the time to help, I
> would appreciate it. Thanks.

I'm no Linux expert, so I've forwarded your message to the sybperl 
mailing list where this sort of problem comes up from time to time.

Maybe someone there can spot the problem.

Michael Peppler       -||-  Data Migrations Inc.  -||-