Click here to get back home

Can't find loadable object

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Can't find loadable object Andrew Shearer 11-19-2004
Posted by Andrew Shearer on November 19, 2004, 1:05 pm
Please log in for more thread options
I am trying to send form data to an email address through a perl
script. I am getting the error message "Can't loacate loadable object
for Module Socket in @INC (@INC contains: sys:perllib.)........" and
it errors out there. I am using Novell Netware 6 Servers. Has anyone
seen this issue and if so any info would be greatly appreciated.


Posted by Amer Neely on November 19, 2004, 6:10 pm
Please log in for more thread options
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Shearer wrote:

| I am trying to send form data to an email address through a perl
| script. I am getting the error message "Can't loacate loadable object
| for Module Socket in @INC (@INC contains: sys:perllib.)........" and
| it errors out there. I am using Novell Netware 6 Servers. Has anyone
| seen this issue and if so any info would be greatly appreciated.

See the thread 'Local install of modules - no root; no telnet' earlier this
month in this ng about
this. I had the same problem. Basically it means one of the modules can't find
either a .so or .xs
file - the module will have to be installed by root, or you will have to figure
out what directory
to copy those files to.

- --
/* All outgoing email scanned by AVG Antivirus */
Amer Neely, Softouch Information Services
Home of Spam Catcher & North Bay Information Technology Networking Group
W: www.softouch.on.ca
E: trudge@softouch.on.ca
Perl | PHP | MySQL | CGI programming for all data entry forms.
"We make web sites work!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAkGeb2kACgkQ3RxspxLYVsXGcgCdHD1VN9LYbTRldyUEOxPQIJhO
1DcAmQFEWrZKwhsZapFl7t58PnTmf3u3
=f9OA
-----END PGP SIGNATURE-----


Posted by Sherm Pendley on November 20, 2004, 1:44 am
Please log in for more thread options
Amer Neely wrote:

> this. I had the same problem. Basically it means one of the modules
> can't find either a .so or .xs
> file

Good so far...

> the module will have to be installed by root, or you will have to
> figure out what directory
> to copy those files to.

Nonsense. MakeMaker *already knows* what directory to copy those files
to. There's nothing for the user to figure out. Trying to micromanage
the installation process by specifying each and every directory will
make you a Rogaine user in a hurry.

Nor does the module have to be installed by root. Any ordinary user can
install a module, by following the directions found in "perldoc
perlmodinstall" - essentially, by specifying the appropriate PREFIX when
they run Makefile.PL.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Posted by Amer Neely on November 27, 2004, 10:53 pm
Please log in for more thread options
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sherm Pendley wrote:

| Amer Neely wrote:
|
|> this. I had the same problem. Basically it means one of the modules
|> can't find either a .so or .xs
|> file
|
|
| Good so far...
|
|> the module will have to be installed by root, or you will have to
|> figure out what directory
|> to copy those files to.
|
|
| Nonsense. MakeMaker *already knows* what directory to copy those files
| to. There's nothing for the user to figure out. Trying to micromanage
| the installation process by specifying each and every directory will
| make you a Rogaine user in a hurry.
|
| Nor does the module have to be installed by root. Any ordinary user can
| install a module, by following the directions found in "perldoc
| perlmodinstall" - essentially, by specifying the appropriate PREFIX when
| they run Makefile.PL.
|
| sherm--
|

Hmm. Interesting. Can you tell me then, why in my earlier post, to which you
replied a few times,
the install script doesn't work? I did have a 'PREFIX' set pointing to my
PerlMods directory, and it
still would not install. And believe me, I have read 'perlmodinstall' and am
trying to follow their
example:
' C. BUILD

~ Go into the newly-created directory and type:

~ perl Makefile.PL
~ make test

~ or

~ perl Makefile.PL PREFIX=/my/perl_directory

~ to install it locally. (Remember that if you do this, you'll have to
~ put "use lib "/my/perl_directory";" near the top of the program that
~ is to use this module.

~ D. INSTALL

~ While still in that directory, type:

~ make install

~ Make sure you have the appropriate permissions to install the module
~ in your Perl 5 library directory. Often, you'll need to be root.
'

So when they say, 'Often, you'll need to be root.' are they wrong? Or am I just
not understanding this?

- --
/* All outgoing email scanned by AVG Antivirus */
Amer Neely, Softouch Information Services
Home of Spam Catcher & North Bay Information Technology Networking Group
W: www.softouch.on.ca
E: trudge@softouch.on.ca
Perl | PHP | MySQL | CGI programming for all data entry forms.
"We make web sites work!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAkGpPawACgkQ3RxspxLYVsW2HgCfaVhC6W9fynG2BMuIz3xdUEvu
j/EAnjullX7UGQRa8QB0uZRrYa8xTwzM
=K7A4
-----END PGP SIGNATURE-----


Posted by Sherm Pendley on November 28, 2004, 1:22 am
Please log in for more thread options
Amer Neely wrote:

> Hmm. Interesting. Can you tell me then, why in my earlier post, to which
> you replied a few times, the install script doesn't work? I did have a
> 'PREFIX' set pointing to my PerlMods directory

I can't say for certain why it failed, without seeing the output from
the build process.

What I can say is, you specified both PREFIX and a bunch of fine-grained
directory options. The fine-grained options didn't make much sense -
there were some that applied only to core modules and therefore wouldn't
be used by the CPAN module you were trying to install. And some that
would be needed if you wanted to completely specify the directory layout
for a CPAN module were missing.

> ~ Make sure you have the appropriate permissions to install the
> module
> ~ in your Perl 5 library directory. Often, you'll need to be root.
> '
>
> So when they say, 'Often, you'll need to be root.' are they wrong? Or am
> I just not understanding this?

What's to understand? It's simple - Regardless of where you install to,
you need to be a user and/or a member of a group that can write there.
For the default library dir, that means you need to be root.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Similar ThreadsPosted
Can't locate loadable object August 4, 2005, 12:18 am
Can't locate loadable object for module June 22, 2005, 12:37 pm
Can't locate loadable object for module Tk::Event July 15, 2005, 9:15 am
Cant find pmtools December 9, 2004, 8:11 pm
What is endian.h? and How can I find it? February 15, 2005, 12:50 pm
find a first column value ... May 19, 2006, 12:54 pm
Help: "find command in windows" July 23, 2005, 1:25 pm
File::Find on Solaris v8-10 August 1, 2005, 11:06 am
WWW::Mechanize cannot find the form. February 14, 2006, 9:04 pm
Find Your Soul Mate May 20, 2006, 12:42 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap