Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Relocation Error After Tk Install

by tyzr (Initiate)
on Jan 31, 2003 at 21:44 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://231734]
Approved by data64
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-26 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found