Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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:
ld.so.1: perl: fatal: relocation error: file
/usr/local/lib/perl5/5.00503/sun4-solaris/auto/Tk/Event/Event.so:
symbol Perl_get_sv:
referenced symbol not found
Killed
I guess the installation is not quite right. Any ideas about
what might be wrong, or where to start investigating?

Thanks!

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-12-16 19:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (458 votes). Check out past polls.

    Notices?