Re: relocation error, LD_LIBRARY_PATH seems ok

[email protected]
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
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
[email protected]@peppler.org - 18/07/2005 11:54


Sent by:    [email protected]

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.
pic28547.jpg (image/jpeg, 1.8 KB) - not displayed
pic05381.jpg (image/jpeg, 833 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.