- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HELP - Perl PAR issue on HP-UX (PA-RISC)
Operating System - HP-UX
1748197
Members
2659
Online
108759
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-14-2008 07:37 PM
тАО07-14-2008 07:37 PM
HELP - Perl PAR issue on HP-UX (PA-RISC)
Hi,
I created a binary file with Perl PAR tool, it run successfully if the version of Perl on the target the machine is as same as the build machine on which i created the binary file.
But when Perl on the target machine is 5.8.8 and 5.8.3 on the build machine, the binary file run failed. The error message is:
# ./test
/usr/lib/dld.sl: Can't open shared library: /opt/perl_32/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/libperl.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
Both target and build machine info are:
# uname -ar
HP-UX xxxxx B.11.23 U 9000/800 1561151547 unlimited-user license
The test script file is:
# cat test.pl
print "hello world!\n";
The build step is:
# pp -o test test.pl
# ./test
hello world!
The pp version is:
# pp -V
PAR Packager, version 0.978 (PAR version 0.977)
Copyright 2002-2008 by Audrey Tang
Appreciate if any can help with this.
Many Thanks.
I created a binary file with Perl PAR tool, it run successfully if the version of Perl on the target the machine is as same as the build machine on which i created the binary file.
But when Perl on the target machine is 5.8.8 and 5.8.3 on the build machine, the binary file run failed. The error message is:
# ./test
/usr/lib/dld.sl: Can't open shared library: /opt/perl_32/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/libperl.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
Both target and build machine info are:
# uname -ar
HP-UX xxxxx B.11.23 U 9000/800 1561151547 unlimited-user license
The test script file is:
# cat test.pl
print "hello world!\n";
The build step is:
# pp -o test test.pl
# ./test
hello world!
The pp version is:
# pp -V
PAR Packager, version 0.978 (PAR version 0.977)
Copyright 2002-2008 by Audrey Tang
Appreciate if any can help with this.
Many Thanks.
- Tags:
- Perl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2008 08:22 PM
тАО07-14-2008 08:22 PM
Re: HELP - Perl PAR issue on HP-UX (PA-RISC)
/opt/perl_32/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/libperl.sl
Well, have you copied this shlib (with this exact path) over to the other system?
Well, have you copied this shlib (with this exact path) over to the other system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2008 08:33 PM
тАО07-14-2008 08:33 PM
Re: HELP - Perl PAR issue on HP-UX (PA-RISC)
Thanks Dennis.
But I want to create a independent standalone binary file, i have checked the temporary directory which has extracted files of the binary file, it contained the libperl.sl shared library.
Could PAR create independent standalone binary file? I do not want to copy the shared library file with exact path.
But I want to create a independent standalone binary file, i have checked the temporary directory which has extracted files of the binary file, it contained the libperl.sl shared library.
Could PAR create independent standalone binary file? I do not want to copy the shared library file with exact path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2008 09:20 PM
тАО07-14-2008 09:20 PM
Re: HELP - Perl PAR issue on HP-UX (PA-RISC)
>But I want to create a independent standalone binary file, i have checked the temporary directory which has extracted files of the binary file, it contained the libperl.sl shared library.
>Could PAR create independent standalone binary file?
You need a libperl.a in order to out it all in an executable. Perhaps in /opt/perl/lib/*/*/CORE/libperl.*
>I do not want to copy the shared library file with exact path.
You have flexibility to put that shlib where your executable is. Then you can use export SHLIB_PATH=path-of-shlib.
You might also be able to do this by linking with $ORIGIN, so you don't need SHLIB_PATH.
>Could PAR create independent standalone binary file?
You need a libperl.a in order to out it all in an executable. Perhaps in /opt/perl/lib/*/*/CORE/libperl.*
>I do not want to copy the shared library file with exact path.
You have flexibility to put that shlib where your executable is. Then you can use export SHLIB_PATH=path-of-shlib.
You might also be able to do this by linking with $ORIGIN, so you don't need SHLIB_PATH.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP