Operating System - HP-UX
1832911 Members
2670 Online
110048 Solutions
New Discussion

Re: Perl install problem on 10.20

 
SOLVED
Go to solution
Keely Jackson
Trusted Contributor

Perl install problem on 10.20

Hi all

I have downloaded Merijn's perl 5.8.0 for 10.20, unbzipped, untarred into /opt/perl and I get the following error message:

bin/perl -v
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libpthread.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

I presumed (possibly foolishly) that as this a pre-compliled binary I did not need to install with swinstall, is that correct and/or have I missed something out somewhere. Any help gratefully received.

Thanks
Keely
Live long and prosper
6 REPLIES 6
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Perl install problem on 10.20

Correct. Go to

http://hpux.connect.org.uk/hppd/hpux/Gnu/pth-1.4.1/

get the 10.20 port, install, and it'll probably work.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Keely Jackson
Trusted Contributor

Re: Perl install problem on 10.20

Hello again.

Installed pth and still get the same error. Are there any variables I need to set or similar?

Any other ideas? I have no problem installing an earlier version, (perl 5.6.1 would be adequate) if anybody knows where to find one.

Cheers
Keely
Live long and prosper
Alex Glennie
Honored Contributor

Re: Perl install problem on 10.20

so does /usr/lib/libpthread.sl exist and does SHLIB_PATH point to /usr/lib ? just a thought ?
Keely Jackson
Trusted Contributor

Re: Perl install problem on 10.20

Hi Alex

Yes it does exist under /opt/pth/lib.

The SHLIB_PATH variable is not set. Should it point to /usr/lib or /opt/pth/lib or both?

Thanks
Keely
Live long and prosper
Keely Jackson
Trusted Contributor

Re: Perl install problem on 10.20

Hi

I have copied the file from /opt/pth/lib to /usr/lib and it now seems to work, well with my very limited perl scripts, hopefully it will still be ok when somebody uses it in anger.

Strangely creating a link didn't work.

What is pth by the way.

Thanks for the help.

Keely
Live long and prosper
H.Merijn Brand (procura
Honored Contributor

Re: Perl install problem on 10.20

1. Don't copy, but symlink. That way if you install a newer version, it'll still work
2. pth is the open source Posix THreads implementation. You could also have used libcma, but this is better.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn