HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- perlxs on itanium
Operating System - HP-UX
1830938
Members
1693
Online
110017
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
Forums
Discussions
Discussions
Discussions
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
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
11-10-2009 01:34 PM
11-10-2009 01:34 PM
perlxs on itanium
We are trying to build a shared library to be used with perl using perlxs. When we try to run perl we are recieving a Unresolved reference error. Looking at the shared library we see that many of the standard functions are undefined.
In previous versions of HP we included the the functions in the shared library using the compiler flag '+A'. With Itanium this flag has been removed and it appears that the standard static libraries are not available. How do we include these functions in the shared library?
In previous versions of HP we included the the functions in the shared library using the compiler flag '+A'. With Itanium this flag has been removed and it appears that the standard static libraries are not available. How do we include these functions in the shared library?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2009 01:56 PM
11-10-2009 01:56 PM
Re: perlxs on itanium
Shalom perlxs,
Please post:
$SHLIB_PATH value.
compiler flags.
Error output. Your error infro is insufficient.
SEP
Please post:
$SHLIB_PATH value.
compiler flags.
Error output. Your error infro is insufficient.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2009 03:43 PM
11-10-2009 03:43 PM
Re: perlxs on itanium
SHLIB_PATH is /lib/hpux32
When running perl I recieve
Can't load '/opt/perl5.10/lib/site_perl/5.10.1/IA64.ARCHREV_0-thread-multi/auto/ProductCenter/ProductCenter.so' for module ProductCenter: Unresolved external at /opt/perl5.10/lib/5.10.1/IA64.ARCHREV_0-thread-multi/DynaLoader.pm line 200.
at exampleCnxn.pl line 4
Compilation failed in require at exampleCnxn.pl line 4.
BEGIN failed--compilation aborted at exampleCnxn.pl line 4.
My linking flags are
-b -Wl,+vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32 -L/lib/hpux32
When running perl I recieve
Can't load '/opt/perl5.10/lib/site_perl/5.10.1/IA64.ARCHREV_0-thread-multi/auto/ProductCenter/ProductCenter.so' for module ProductCenter: Unresolved external at /opt/perl5.10/lib/5.10.1/IA64.ARCHREV_0-thread-multi/DynaLoader.pm line 200.
at exampleCnxn.pl line 4
Compilation failed in require at exampleCnxn.pl line 4.
BEGIN failed--compilation aborted at exampleCnxn.pl line 4.
My linking flags are
-b -Wl,+vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32 -L/lib/hpux32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2009 04:53 PM
11-10-2009 04:53 PM
Re: perlxs on itanium
>Looking at the shared library we see that many of the standard functions are undefined.
Don't look at the shlib. Only look at errors. If your functions are in libc.so, they are always present.
>we included the the functions in the shared library using the compiler flag '+A'.
I don't see how. +A creates an archive only executable and won't work for shlibs.
>How do we include these functions in the shared library?
You don't, that's not supported and violates your license agreement.
dld will automatically get them from libc.so.
>SHLIB_PATH is /lib/hpux32
This isn't valid. The correct setting would be:
export LD_LIBRARY_PATH=/usr/lib/hpux32
Since this is the default, remove it.
>My linking flags are
-b -Wl,+vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32 -L/lib/hpux32
You should remove the last two, they are the default.
>Unresolved external at ...
This message is garbage. It doesn't tell you what the unsat is. Unless those lines tell you something?
It looks like you need my show_remaining_imports_elf.sh from this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1261297
Don't look at the shlib. Only look at errors. If your functions are in libc.so, they are always present.
>we included the the functions in the shared library using the compiler flag '+A'.
I don't see how. +A creates an archive only executable and won't work for shlibs.
>How do we include these functions in the shared library?
You don't, that's not supported and violates your license agreement.
dld will automatically get them from libc.so.
>SHLIB_PATH is /lib/hpux32
This isn't valid. The correct setting would be:
export LD_LIBRARY_PATH=/usr/lib/hpux32
Since this is the default, remove it.
>My linking flags are
-b -Wl,+vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32 -L/lib/hpux32
You should remove the last two, they are the default.
>Unresolved external at ...
This message is garbage. It doesn't tell you what the unsat is. Unless those lines tell you something?
It looks like you need my show_remaining_imports_elf.sh from this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1261297
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP