- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File::Glob Error
Operating System - HP-UX
1753643
Members
5258
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 03:45 AM
тАО09-14-2006 03:45 AM
File::Glob Error
Greetings:
My system is HP-B2000, HP-11.11 installed with mySQL(version mysql-standard-5.0.18-hpux11.11-hppa2.0w-64bit) and 64-bit PERL (version 5.8.7)
The generic PERL function works.
When I try to install mySQL DBI on PERL. I have following error which puzzled me.
:make
Can't locate loadable object for module File::Glob in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/PA-RISC2.0 /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/PA-RISC2.0 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57
Compilation failed in require at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57.
Compilation failed in require.
BEGIN failed--compilation aborted.
*** Error exit code 2
Stop.
===============================================
Any clue?
Thanks a lot
My system is HP-B2000, HP-11.11 installed with mySQL(version mysql-standard-5.0.18-hpux11.11-hppa2.0w-64bit) and 64-bit PERL (version 5.8.7)
The generic PERL function works.
When I try to install mySQL DBI on PERL. I have following error which puzzled me.
Can't locate loadable object for module File::Glob in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/PA-RISC2.0 /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/PA-RISC2.0 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57
Compilation failed in require at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57.
Compilation failed in require.
BEGIN failed--compilation aborted.
*** Error exit code 2
Stop.
===============================================
Any clue?
Thanks a lot
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 03:51 AM
тАО09-14-2006 03:51 AM
Re: File::Glob Error
Do you have perl5 installed and pointed to correct path?
>>Compilation failed in require at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57.
<<
>>Compilation failed in require at /usr/local/lib/perl5/5.8.7/ExtUtils/Command.pm line 57.
<<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 04:09 AM
тАО09-14-2006 04:09 AM
Re: File::Glob Error
I do have PERL 5.8.7 installed and I can launch basic PERL calls.
zcary0q6:root> perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux hades b.11.11 u 9000800 1335053341 unlimited-user license '
config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE',
optimize='-O2',
cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.0.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
perllibs=-lnsl -lnm -lmalloc -ldld -lm
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Nov 8 2005 17:33:19
@INC:
/usr/local/lib/perl5/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
============================================
:root> ./testPerl060812.pl
Testing Perl basic function !
=============================================
I installed mySQL first, and I test mYSQL by creating database and tables without any issue.
Then I installed PERL 5.8.7. The installationm finished with some warnings:
zcary0q6:root> ./testPerl060812.pl
Testing Perl basic function !
zcary0q6:root> which perl
/usr/bin/perl
zcary0q6:root> perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux hades b.11.11 u 9000800 1335053341 unlimited-user license '
config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE',
optimize='-O2',
cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.0.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
perllibs=-lnsl -lnm -lmalloc -ldld -lm
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Nov 8 2005 17:33:19
@INC:
/usr/local/lib/perl5/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
.
=============================================
zcary0q6:root> perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux hades b.11.11 u 9000800 1335053341 unlimited-user license '
config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE',
optimize='-O2',
cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.0.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
perllibs=-lnsl -lnm -lmalloc -ldld -lm
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Nov 8 2005 17:33:19
@INC:
/usr/local/lib/perl5/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
============================================
Testing Perl basic function !
=============================================
I installed mySQL first, and I test mYSQL by creating database and tables without any issue.
Then I installed PERL 5.8.7. The installationm finished with some warnings:
zcary0q6:root> ./testPerl060812.pl
Testing Perl basic function !
zcary0q6:root> which perl
/usr/bin/perl
zcary0q6:root> perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux hades b.11.11 u 9000800 1335053341 unlimited-user license '
config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE',
optimize='-O2',
cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.0.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
perllibs=-lnsl -lnm -lmalloc -ldld -lm
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Nov 8 2005 17:33:19
@INC:
/usr/local/lib/perl5/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/PA-RISC2.0
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
.
=============================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 05:08 AM
тАО09-14-2006 05:08 AM
Re: File::Glob Error
Hi:
The module 'File::Glob' is part of the core module set. You can verify its existence with:
# perldoc -l File::Glob
You should get something like:
/opt/perl/lib/5.8.2/PA-RISC2.0/File/Glob.pm
...returned showing its path.
On one of my servers i have (correspondingly):
# perl -le 'print for (@INC)'
/opt/perl/lib/5.8.2/PA-RISC2.0
/opt/perl/lib/5.8.2
/opt/perl/lib/site_perl/5.8.2/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.2
/opt/perl/lib/site_perl
.
Regards!
...JRF...
The module 'File::Glob' is part of the core module set. You can verify its existence with:
# perldoc -l File::Glob
You should get something like:
/opt/perl/lib/5.8.2/PA-RISC2.0/File/Glob.pm
...returned showing its path.
On one of my servers i have (correspondingly):
# perl -le 'print for (@INC)'
/opt/perl/lib/5.8.2/PA-RISC2.0
/opt/perl/lib/5.8.2
/opt/perl/lib/site_perl/5.8.2/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.2
/opt/perl/lib/site_perl
.
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP