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: help with CTlib error.
Date: Feb 13 1998 11:18PM

philip mikal wrote:
> 
> Hello:
> 
> I recieve the following error when trying to 'use Sybase::CTlib;'
> 
> ====================================================
> 
> Can't load '/usr/local/lib/perl5/site_perl/sun4-solaris/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: relocation error: file /usr/local/sybase/lib/libtcl.so: symbol comn_free: referenced symbol not found at /usr/local/lib/perl5/sun4-solaris/5.00404/DynaLoader.pm line 166.
> 
> ====================================================
> 
> Does anyone know what might be causing this error?  Any help would be
> greatly appreciated.

You have /usr/lib or /lib in your LD_LIBRARY_PATH environment variable.

This is nearly always a mistake.

Remove /usr/lib and /lib from LD_LIBRARY_PATH and all should be fine.

(the reason this breaks is explained in the FAQ, the latest version 
is available from my home page.)

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler