- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/a...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО07-30-2003 11:03 PM
тАО07-30-2003 11:03 PM
Now i think its high time i'll atlast post the message. I have given up struggling with using DB_File in perl.
I Installed perl5.8.0 from publix domain and then from merijn's Site but still keep getting this error message when i use DB_File, any idea whats the reason.
By the way OS is 11.00/32bit and D370 server.
here is the error
Can't load '/usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl' for module DB_File: No such file or
directory at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/XSLoader.pm line 83.
at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DB_File.pm line 251
Compilation failed in require at ./t.pl line 4.
BEGIN failed--compilation aborted at ./t.pl line 4.
Where as all the files are there when in proper place when i list them, but still.
Thanks in advance
Rajeev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 11:08 PM
тАО07-30-2003 11:08 PM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 11:14 PM
тАО07-30-2003 11:14 PM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
check if the file has the execution attribute, and all the previous dir have the x (for searching).
I remember another thread, with a similar error, and it turned out that was the execute bit on the shared library, that is needed...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 11:17 PM
тАО07-30-2003 11:17 PM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
Also in frustration just to test it works on a development machine i gave 777 to the whole perl directory but still complained for the same thing
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 11:55 PM
тАО07-30-2003 11:55 PM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa990227a6ab4d711900a0090279cd0f9,00.html
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 12:36 AM
тАО07-31-2003 12:36 AM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 01:36 AM
тАО07-31-2003 01:36 AM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
Yes your perl was installed in /opt/perl but when that gave the same error i thought might give a try downloading from HP-UX Porting site. But that too gives same error loading DF_File module.
Thanks
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 01:41 AM
тАО07-31-2003 01:41 AM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
try debugging it, to check wheter it is a permission problem, using wbd, tusc or similia.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 03:32 AM
тАО07-31-2003 03:32 AM
Solutiona5:/tmp 133 > find /opt/perl -name DB_File.sl | xargs chatr
/opt/perl/lib/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib/libdb.sl
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
a5:/tmp 134 >
As you can see it wants to use /usr/lib/libdb.sl
You /should/ have that in order to run DB_File.sl The error is a deferred load error.
http://hpux.connect.org.uk/hppd/hpux/Development/Tools/db-4.1.25/
is the last public port on the proting center
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 03:58 PM
тАО07-31-2003 03:58 PM
Re: Can't load /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl
I got the problem, the program was looking for libdb.sl in /usr/local/lib where as the file was in /usr/sam/lib after making a link it worked.
Thanks
Rajeev