- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl install problem on HP-UX11.01
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
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
тАО11-20-2003 07:58 AM
тАО11-20-2003 07:58 AM
I'm tring to build a Perl 5.8.0 version on HP-UX11.01 (Workstation B180)..But installed Perl software doesn't work and
come out follow error message...
$ perl
/usr/lib/dld.sl: Can't find path for shared library: libsec.2
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
I putted the software at /usr/local and type
< swinstall -s "/usr/local/xxxxx" perl > command..
How do i correctly build a Perl software and how can i fix that problem...?
Please...give me a information....
Thanks..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:06 AM
тАО11-20-2003 08:06 AM
Re: Perl install problem on HP-UX11.01
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.0/
and then use swinstall to install it.
Sounds like that would be a simpler thing
for you to do.
HTH ...Laurie :{)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:10 AM
тАО11-20-2003 08:10 AM
Re: Perl install problem on HP-UX11.01
OR even you can download the source if u have a C compiler installed. But i like depot with seperate paths, may be /usr/local/perl580
btw, did you try correctly setting the variable LD_LIBRARY_PATH...
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:16 AM
тАО11-20-2003 08:16 AM
Re: Perl install problem on HP-UX11.01
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/perl/lib: like this
try finding dld.sl and set the directory in Load library path...
and try testing perl with
/usr/local/perl58/bin/perl -v
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:19 AM
тАО11-20-2003 08:19 AM
Re: Perl install problem on HP-UX11.01
Attached
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:22 AM
тАО11-20-2003 08:22 AM
Solutionhttp://www.cmve.net/~merijn/libsec.2
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2003 01:49 PM
тАО11-22-2003 01:49 PM
Re: Perl install problem on HP-UX11.01
Procura, I'm sure your intentions were good, but installing HP-UX software bypassing SD is likely to lead to inconsistencies on the system (swverify errors, lack of proper dependency checking, etc. at the very least).
libsec has been shipped with every version of HP-UX since 10.00. If it's not on the system, or if the version numbers don't match, it's probably a sign of a bigger problem that should be looked into before worrying about perl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 04:10 AM
тАО11-24-2003 04:10 AM
Re: Perl install problem on HP-UX11.01
I checked my HP-UX version again..
It's HP-UX 10.20 base...I was confused.. Because When I type "version" command, the message is "HP-UX 11.01" ..But Original HP-UX DAT tape is 10.20 basic HP-UX..So i re-installed the HP-UX 10.20 sofeware on my workstation, and i tried to get a Perl 5.6.x or 5.8.x version for HP-UX 10.20 base.. But I couldn't find the software...
Do you know where i can get the software..?
Please help me...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 04:23 AM
тАО11-24-2003 04:23 AM
Re: Perl install problem on HP-UX11.01
Singapore https://www.beepz.com/personal/merijn/
Rotterdam http://www.cmve.net/~merijn/
Seattle http://ww.hpux.ws/merijn/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 11:20 AM
тАО11-24-2003 11:20 AM
Re: Perl install problem on HP-UX11.01
Thanks for your helping..
But I don't know how to install the program and which is correct program...
I'm a beginner to learn the HP-UX..
My system version is following list..
$ version
Agilent 3070 Software Version 3070 05.00pd 1101 UX
$ perl -v
This is perl, version 5.004
Copyright 1987-1997, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
So, Please could you give me a information for the installation procedure and correct file....?
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 12:30 PM
тАО11-24-2003 12:30 PM
Re: Perl install problem on HP-UX11.01
the perl you can fetch from my site (visit the "Perl" link in the upper right screen corner to see the installation instructions) is perl-5.8.2 for all hp-ux flavours I have access to. Fetch the at teh "Download" section and choose from the HP-UX 10.20 column
Be SURE that /opt/perl/bin precedes /usr/contrib/bin in your $PATH (edit /etc/PATH)
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 01:52 PM
тАО11-24-2003 01:52 PM
Re: Perl install problem on HP-UX11.01
As Doug already mentioned, you must make sure your system have "libsec.2" already intstalled. you may have a problem if you can't find that library in your system even if you download perl from "Merijn" site.
To findout what version of HPUX you have, you can just type:
uname -a
Mehdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 08:22 PM
тАО11-24-2003 08:22 PM
Re: Perl install problem on HP-UX11.01
Keep in mind that 10.20 dates back to the spring of 1996 - 7 1/2 years ago. HP has already stopped supporting this release, and open source developers are likewise paying less attention to it. For example, see
http://gatekeep.cs.utah.edu/hppd/answers/5-4.html
You will increasingly find that you will either have to upgrade to a newer version of HP-UX (if that is possible on your hardware) or be content with running an older version of whatever software you are interested in.
You indicate that you are getting error messages referring to libsec.2. libsec.2 did not exist until HP-UX 11.00. It was specifically created because there was a major change between 10.20 and 11.00 (i.e. a new threads model) that was not compatible with the older libsec.1.
The fact that you are getting complaints about libsec.2 strongly suggests that you are trying to install an 11.X version of perl on your 10.20 system, which would not work well. The general rule for installing software on an HP-UX system is that you can often install software for an older release on your system and have it work (10.20 perl on HP-UX 11.00, for example) but it is almost never a good idea to try to install software for a newer release on an older version of HP-UX (such as 11.00 perl on HP-UX 10.20).
Installing libsec.2 on your 10.20 system to try to work around this would also not work well, since it may be trying to do system calls that did not exist in 10.20, or using interfaces that changed in some other way between 10.20 and 11.00.
http://www.hpux.ws/merijn/#Perl appears to have 10.20-compatible perl 5.8.0 binaries
(see http://www.hpux.ws/merijn/perl-5.8.0-gcc-3.2-10.20-pa11-ora.tbz) but you may have to get bzip2 from that page first so you can uncompress it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 08:44 AM
тАО12-02-2003 08:44 AM
Re: Perl install problem on HP-UX11.01
My system already has Perl5.004 version on HP-UX10.20 ..So, I want to upgrade the PERL version to 5.8.0..
I installed the Perl5.8.0 version at /opt/perl5_8 directory by using the
And then i checked the PERL version using < perl -v > command, the version is still 5.004 version...
so i ran the perl5.8.0 file in the /opt/perl5_8/bin directory, the error message is coming out as following list.
- /usr/lib/dld.sl:Can't open shared library:/usr/lib/libpthread.sl
- /usr/lib/dld.sl:No such file or directory
About(coredump)
So, I installed the < Gnu/pth-1.4.1> file againg to my system... But same error message is come out..
If you have a infomation, please give me...
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 08:54 AM
тАО12-02-2003 08:54 AM
Re: Perl install problem on HP-UX11.01
So, Do i need remove the old perl(version 5.0.0.4) software?.. If need to remove the software, how to remove the old version software..? Please give me a information...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 09:06 AM
тАО12-02-2003 09:06 AM
Re: Perl install problem on HP-UX11.01
It cann't run on the perl5.0.0.4 version..
If you can fixed the problem of that scripter.. please help me..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 09:08 AM
тАО12-02-2003 09:08 AM
Re: Perl install problem on HP-UX11.01
11.00 supported many new features, including threads. To get that support required very major changes to both the kernel and to many commands/libraries. You cannot fix this by just installing the libpthread libraries or any other user-space fixes. You must find a 10.20-based version of the version of perl that you are trying to run OR upgrade your operating system to 11.00 or later OR settle for an older version of perl. There really aren't any other reasonable choices.
If you try to use the 11.X based perl binaries that you are trying you will chase a seemingly endless series of problems. You have already seem the libsec and libpthread problems. There are many others that you will trip over if you keep trying to fix this one step at a time. It's not worth the effort and frustration.
If there were a sane way to do this we'd be happy to help you, but this is sort of like trying to install a turbocharger on a horse. No matter how many adapters you get or how many experts you consult, it's just not going to work very well. :-) You're much better off upgrading from a horse to a car before trying to install the turbocharger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 09:26 AM
тАО12-02-2003 09:26 AM
Re: Perl install problem on HP-UX11.01
Thank you for your advise..
But I can't upgrade the HP-UX version...
Because the system is not our system..
I just run the scripter in my office.. and then release the result and scripter to customer... So i can't upgrade..
Could you see the attached file?..
If you can run the scripter, could you fix the problem... i really need somebody help...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 09:31 AM
тАО12-02-2003 09:31 AM
Re: Perl install problem on HP-UX11.01
A symlink might help, but the module just looks for /opt/perl, because that is the way it is compiled.
There *is* however a workaround: setting $PERL5LIB but it is a long string to set
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 09:34 AM
тАО12-02-2003 09:34 AM
Re: Perl install problem on HP-UX11.01
Hopefully someone else can help with the script debugging. I'm much less familiar with perl than with HP-UX internals (and also very busy with other fires today). But I'll bet plenty of other folks reading this are avid perl users and would be willing to take a stab at helping to debug the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 09:47 AM
тАО12-02-2003 09:47 AM
Re: Perl install problem on HP-UX11.01
lt09:/home/merijn 106 > perl -c !$
perl -c hex.pl
hex.pl syntax OK
lt09:/home/merijn 107 > perl -cw !$
perl -cw hex.pl
Unquoted string "history" may clash with future reserved word at hex.pl line 30.
Unquoted string "history" may clash with future reserved word at hex.pl line 100.
Value of
Unquoted string "history" may clash with future reserved word at hex.pl line 397.
Unquoted string "history" may clash with future reserved word at hex.pl line 399.
Unquoted string "history" may clash with future reserved word at hex.pl line 401.
hex.pl syntax OK
lt09:/home/merijn 108 >
# perl -Mstrict -wc hex.pl
will generated even more warnings/errors
But let's start with the first warning:
open(history, '<', $datFile) || die("Cannot open history file.");
printf
printf
$ss1 =
chop($ss1);
Several errors here. I'll just refrase and it's up to you to change the rest
open my $history, "< $datFile" or die "Cannot open history file $datFile: $!.";
print STDOUT "\nPlease enter Serial Number of BVP shelf (case sensitive)\n",
"or \"power upgrade\" string followed by
chomp (my $ss1 = scalar
1. in printing to file handles, you do *not* separate the handle from the rest of the arguments with a comma
2. the caret operator (
3. printf should only be used if the *format* you pass contains format specifiers like %d, %s and such, otherwise thou should use print, because there is nothing to be formatted
4. Thou shall not use chop. safe chop (or chomp) is the only - and fastest - way to safely chop of line endings ($/)
5. Filehandles should be either all uppercase (HISTORY would be OK), or lexical variables
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2003 05:40 AM
тАО12-03-2003 05:40 AM
Re: Perl install problem on HP-UX11.01
I have a error message when i ran the PERL script...It's some different message between your message and my message..
Attached is my error message..
Could you check the Error_message file and PERL Script?...
I really thank you for your helping...
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2003 06:49 AM
тАО12-03-2003 06:49 AM
Re: Perl install problem on HP-UX11.01
first go by the rules, if you have changed all 'printf
Use strict;
use warnings;
use diagnostics;
Enjoy, Have FUN! H.Merijn [ who is not about to write other peoples scripts ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 10:42 AM
тАО12-10-2003 10:42 AM
Re: Perl install problem on HP-UX11.01
Attacehed is modified script...
But, I have another error as the following message..
Please check the attached script and fix for me....
$ perl bvpbp.pl bvpbp.dat f1 f2 f3
"my" variable $binFile masks earlier declaration in same scope at bvpbp.pl line
348.
"my" variable $history masks earlier declaration in same scope at bvpbp.pl line
386.
Can't use an undefined value as filehandle reference at bvpbp.pl line 30.
$
$ perl -c bvpbp.pl
"my" variable $binFile masks earlier declaration in same scope at bvpbp.pl line
348.
"my" variable $history masks earlier declaration in same scope at bvpbp.pl line
386.
bvpbp.pl syntax OK
$
$ perl -cw bvpbp.pl
Value of
"my" variable $binFile masks earlier declaration in same scope at bvpbp.pl line
348.
Value of
.
"my" variable $history masks earlier declaration in same scope at bvpbp.pl line
386.
Name "main::binFile" used only once: possible typo at bvpbp.pl line 434.
bvpbp.pl syntax OK
$
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 10:51 AM
тАО12-10-2003 10:51 AM