Hi,

I have a redhat 64 bit machine and I'm trying to run webmin but the perl is complaining it can't locate Net::SSLeay although as you can see below it is installed.
Can anyone help me please?

Thanks,
js1.

Here's some information about the perl I'm using:
[root@host1 webmin]# find / -name SSLeay.pm /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Net/SSLeay.pm [root@host1 webmin]# ls /usr/bin/perl* /usr/bin/perl /usr/bin/perl5.8.5 /usr/bin/perlbug /usr/bin/perlcc +/usr/bin/perldoc /usr/bin/perlivp [root@host1 webmin]# ls -l /usr/bin/perl -rwxr-xr-x 2 ebizadmn root 20728 Dec 16 2005 /usr/bin/perl [root@host1 webmin]# ls -l /usr/bin/perl5.8.5 -rwxr-xr-x 2 ebizadmn root 20728 Dec 16 2005 /usr/bin/perl5.8.5 [root@host1 webmin]# /usr/bin/perl5.8.5 -e 'use Net::SSLeay' Can't locate Net/SSLeay.pm in @INC (@INC contains: /usr/lib64/perl5/5. +8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/s +ite_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5 +.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_6 +4-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-th +read-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi + /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/ +perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/s +ite_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_per +l/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/ +lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/pe +rl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vend +or_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/ +5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.1/x8 +6_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-lin +ux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendo +r_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_p +erl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl +/5.8.0 /usr/lib/perl5/vendor_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. [root@host1 webmin]# perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.6.9-22.18.bz155725.elsmp, archname=x86_64-l +inux-thread-multi uname='linux hs20-bc1-7.build.redhat.com 2.6.9-22.18.bz155725.elsm +p #1 smp thu nov 17 15:34:08 est 2005 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m64 -Dversion=5.8.5 -Dm +yhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red H +at, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 + /lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.5 -Dsitelib=/usr/lib/ +perl5/site_perl/5.8.5 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.5 -D +archlib=/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi -Dsitearch=/ +usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi -Dvendorarc +h=/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi -Darch +name=x86_64-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib +-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semu +n -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Dusep +erlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/ +bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-st +rict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_ +OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -m64', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-alias +ing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-1)', gccos +andvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags ='' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.s +o gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - +Wl,-rpath,/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_64_BIT +_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Dec 16 2005 14:06:23 @INC: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .

I tried using perl -I with the relevant include path but still no luck:
[root@host1 webmin]# perl -I/usr/lib/perl5/vendor_perl/5.8.5/i386-linu +x-thread-multi -e 'use Net::SSLeay' Can't load '/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a +uto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /usr/lib/perl5/vend +or_perl/5.8.5/i386-linux-thread-multi/auto/Net/SSLeay/SSLeay.so: cann +ot open shared object file: No such file or directory at /usr/lib64/p +erl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230. at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.

Thanks for any help!

In reply to can't locate in @INC by js1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.