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 dot peppler at bnpparibas dot com
Subject: Re: relocation error, LD_LIBRARY_PATH seems ok
Date: Jul 18 2005 10:50AM

This usually means that the perl binary that is executed is not compatible
with the DBlib.so binary. You either have several copies of perl on the
machine, and the path is picking up the wrong one, or the DBlib.so (and
related files) has been copied from a different machine.

Michael




Internet
alex.x.borshik@jpmchase.com@peppler.org - 18/07/2005 11:54


Sent by:    owner-sybperl-l@peppler.org

To:    sybperl-l

cc:


Subject:    relocation error, LD_LIBRARY_PATH seems ok



Hi All,

Mysteriously over the weekend one of my environments has broken, I am
getting the following error:

bash-2.03$ ./test.pl
ld.so.1: /usr/local/bin/perl: fatal: relocation error: file
/export/home/crd-sit/site_perl/sun4-solaris/auto/Sybase/DBlib/DBlib.so:
symbol perl_get_sv: referenced symbol not found
Killed

The $SYBASE and $LD_LIBRARY_PATH seem to be correct (see below)

LD_LIBRARY_PATH=/apps/open_client/current/solaris/lib
PATH=/usr/local/bin:/local/bin:/usr/bin::/apps/open_client/current/solaris/bin

PERLLIB=:/export/home/crd-sit/site_perl:/export/home/crd-sit/site_perl/sun4-solaris

SYBASE=/apps/open_client/current/solaris

Does anyone have any ideas?

Thanks,

Alex Borshik
CRD Application Developer


[IMAGE]| CBEC | Glasgow | CRD Build Team | (: +44 141 GDP 228 5211 | : +44
141 228 5005 | [IMAGE]pwp

(Embedded image moved to file: pic28547.jpg)(Embedded image moved to file:
pic05381.jpg)


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.