Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

A Tk Problem!!!

by Anonymous Monk
on May 11, 2002 at 00:39 UTC ( #165819=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Can someone please give an idea of how to solve this problem: "Can't locate loadable object for the module Tk in @INC"

Replies are listed 'Best First'.
Re: A Tk Problem!!!
by mt2k (Hermit) on May 11, 2002 at 00:44 UTC
    You will get this error whenever a module has not been completely installed correctly. This generally means that you tried to simply copy over the file with the '.pm' extension to the folder(s) perl looks for when loading a module.

    To explain further: the main module of the library is located in the right place, but there is at least one other file that the main library needs to load in order to function correctly. The problem is that this/these file(s) are missing. As I said, this is usually caused from incorrect installation: some modules require that you compile them (if they include C extension files for example) and therefore you cannot just copy the .pm file to the library folder.

    Solution: if you are the owner of the system in question, then you will need to compile the module correctly. If you are not the owner of the system, contact the administrator and tell them the problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://165819]
Approved by mt2k
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2022-12-01 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?