- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unresolved pthread_attr_init on HPUX
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
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
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
10-03-2012 08:18 AM - last edited on 10-03-2012 10:33 PM by Maiko-I
10-03-2012 08:18 AM - last edited on 10-03-2012 10:33 PM by Maiko-I
Hello Experts,
I've run into a issue - apologies for burdening you with this - but I feel I'm probably one patch or PATH update from fixing this ! ;-)
I'm trying to get a - in this case simplified - program to run on HP-UX. It's built using XPADE on HP-IA and the resultant .out runs in the ( ARIES ? ) environment on there ( IA ) - but an attempt to run it on HP-UX gives
/usr/lib/dld.sl: Unresolved symbol: pthread_attr_init (code) from ./thread_risc.out
Abort Instruction ( core dumped )
A uname -a on the UX machine gives
HP-UX chtorh01 B.11.11 U 9000/785 2006705404 unlimited-user license
In other threads on here I see the output of the following commands often requested
ldd ./thread_risc.out
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libcl.2 => /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libm.2 => /usr/lib/libm.2
/usr/lib/libCsup.2 => /usr/lib/libCsup.2
/usr/lib/libstream.2 => /usr/lib/libstream.2
/usr/lib/libstd.2 => /usr/lib/libstd.2
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
chatr ./thread_risc.out gives
./thread_risc.out:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib/libpthread.1
dynamic /usr/lib/libstd.2
dynamic /usr/lib/libstream.2
dynamic /usr/lib/libCsup.2
dynamic /usr/lib/libm.2
dynamic /usr/lib/libcl.2
dynamic /usr/lib/libc.2
static /usr/lib/libdld.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
explicit unloading enabled
runtime checks disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
shared library private mapping disabled
shared library text merging disabled
A seach led to perhaps missing a patch and PHCO_33282 has been applied
and a
/usr/sbin/swlist -l patch | grep PHCO_33282
gives - amongst other output..
PHCO_33282 1.0 pthreadlibrary cumulative patch
I'm at the edge of my knowledge here so any help - pointers in the right direction gratefully received.
Thanks in advance,
John
P.S. This thread has been moved from HP-UX > Patches to HP-UX > Languages and Scripting - HP Forums Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2012 12:45 PM
10-03-2012 12:45 PM
Solution>but an attempt to run it on HP-UX gives
This is explicitly documented as not supported.
When you use XPADE, you can only run the application on Integrity boxes, under Aries.
Your particular problem is the same as compiling on 11.23 or 11.31 and trying to move to 11.11, even if all are PA-RISC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2012 07:36 AM
10-04-2012 07:36 AM
Re: Unresolved pthread_attr_init on HP-UX
Thank you for your prompt response. I re-read the XPADE docs and now see my error ! ;-)
Thank you again for your help.
John K