Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Relocation Error After Tk Install

by tyzr (Initiate)
on Jan 31, 2003 at 21:44 UTC ( #231734=perlquestion: print w/replies, xml ) Need Help??
tyzr has asked for the wisdom of the Perl Monks concerning the following question:

My sysadmin just installed Perl Tk. When I try to execute
the test script: perl -e 'use Tk', I get the following error
message: perl: fatal: relocation error: file
symbol Perl_get_sv:
referenced symbol not found
I guess the installation is not quite right. Any ideas about
what might be wrong, or where to start investigating?


Replies are listed 'Best First'.
Re: Relocation Error After Tk Install
by integral (Hermit) on Feb 01, 2003 at 08:40 UTC
    The Tk module isn't written using pure perl, it uses some XS code, which is converted into C and compiled as a shared object (shared library). Perl then tries to load it when you request the Tk module, and that's where its failing.

    My best guess at why its having problems finding the symbol is that there is a mismatch between the perl executable and the version that the library was compiled against.

    You probably want to start investigating by recompiling and reinstalling the Tk module and make sure all the tests included with it run ok.

    integral, resident of freenode's #perl
      Thanks, integral. We reinstalled, and it seemed to go ok this time. I appreciate your help. tyzr

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://231734]
Approved by data64
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-07-16 09:13 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (333 votes). Check out past polls.