- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: perl problem
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
Forums
Discussions
Discussions
Discussions
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
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
01-09-2005 06:45 PM
01-09-2005 06:45 PM
perl problem
Iam having a web application runing on perl 5.6.1. When i click on any link in my application it gives the following error message. Any help would be appreciated.
Can't find 'boot_IO' symbol in /opt1/perl5.6.1/lib/5.6.1/PA-RISC2.0/auto/IO/IO.sl.
Please suggest me what is the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:10 AM
01-10-2005 01:10 AM
Re: perl problem
can you please double-check that:
1. The installation and make of perl worked
2. That IO.sl was correctly installed and built
To me it seems the code is trying to find a label that is not in the right place
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:20 AM
01-10-2005 01:20 AM
Re: perl problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 02:23 AM
01-10-2005 02:23 AM
Re: perl problem
a. /opt1 does not exists, and /opt does:
# ln -s /opt /opt1
b. /opt1 /does/ exist and is a dir, but has no perl, and /opt has perl installed
# ln -s /opt/perl /opt1/perl
c. /opt1 has perl installed, /opt does not exist (strange situation)
# ln -s /opt1 /opt
d. /opt1 has perl installed, and /opt exists, but has no perl
# ln -s /opt1/perl /opt/perl
More difficult solution
a. set $PERL5LIB to include everything you need to find the modules. The default will look more or less like:
a5:/u/usr/merijn 102 > /opt/perl/bin/perl -le'print join":",@INC'
/opt/perl/lib/5.8.6/PA-RISC2.0:/opt/perl/lib/5.8.6:/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0:/opt/perl/lib/site_perl/5.8.6:/opt/perl/lib/site_perl:.
a5:/u/usr/merijn 103 >
b. Include all of thise in the @INC in your script:
push @INC, "/opt1/perl/lib/5.8.6/PA-RISC2.0", "/opt1/perl/lib/5.8.6", "/opt1/perl/lib/site_perl/5.8.6/PA-RISC2.0", "/opt1/perl/lib/site_perl/5.8.6", "/opt1/perl/lib/site_perl";
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 02:28 AM
01-10-2005 02:28 AM
Re: perl problem
when perl was installed were the binaries or the source code downloaded?
If the code was downloaded it will have been compiled, which would show you any errors.
If the binaries were used, chances are all modules will expect other modules to be in a certain place.
in my experience that quickest way to solve problems with code being installed in alternative directories is to create links so the path matches ok.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 08:02 PM
01-10-2005 08:02 PM
Re: perl problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 08:56 PM
01-10-2005 08:56 PM
Re: perl problem
Place the pushing of @INC inside a BEGIN block to ensure it's evaluated already at compile time instead of runtime when it was too late.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 08:56 PM
01-10-2005 08:56 PM
Re: perl problem
can you please run the following:
nm -f /opt1/perl5.6.1/lib/5.6.1/PA-RISC2.0/auto/IO/IO.sl | grep boot_IO
This command will list all symbols defined in the IO.sl library and filter out only the boot_IO label.
If this returns nothing it means that the shared lib does not contain the symbol you need.
Have you created the links and tried again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 09:00 PM
01-10-2005 09:00 PM
Re: perl problem
boot_IO | 16472|extern|entry |
boot_IO | 16664|extern|code |$CODE$.
Please suggest further actions