Operating System - HP-UX
1752589 Members
4587 Online
108788 Solutions
New Discussion юеВ

Perl install problem on HP-UX11.01

 
SOLVED
Go to solution
john_611
Occasional Advisor

Perl install problem on HP-UX11.01

The system already installed Perl 5.004 version.
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..

24 REPLIES 24
Laurie Gellatly
Honored Contributor

Re: Perl install problem on HP-UX11.01

Why not pick up the depot from:
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 :{)
If you're not using OverTime, you're doing overtime!
Vijaya Kumar_3
Respected Contributor

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
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Vijaya Kumar_3
Respected Contributor

Re: Perl install problem on HP-UX11.01

if u installed perl 58 in /usr/local, u may need to set LD_LIBRARY_PATH to ur correct library paths like

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
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
H.Merijn Brand (procura
Honored Contributor

Re: Perl install problem on HP-UX11.01

None of the above three answers will provide you with libsec.2 :)

Attached

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Perl install problem on HP-UX11.01

Someone's playing tricks with me. .tgz attachments not coming through

http://www.cmve.net/~merijn/libsec.2

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
doug hosking
Esteemed Contributor

Re: Perl install problem on HP-UX11.01

John, can we do a sanity check on the HP-UX release number? 11.01 doesn't sound right. Unless you managed to get a pre-release version of HP-UX somewhere along the line, I can't see how you would be running a version by that number.

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.

john_611
Occasional Advisor

Re: Perl install problem on HP-UX11.01

HI, Doug Hosking..

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...
H.Merijn Brand (procura
Honored Contributor

Re: Perl install problem on HP-UX11.01

Sure, got to my site :)

Singapore https://www.beepz.com/personal/merijn/
Rotterdam http://www.cmve.net/~merijn/
Seattle http://ww.hpux.ws/merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
john_611
Occasional Advisor

Re: Perl install problem on HP-UX11.01

Hi,procura and Doug Hosking !!!

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..