- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/l...
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
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
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
тАО06-07-2011 08:09 AM
тАО06-07-2011 08:09 AM
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
a quite strange problem on HP-UX 11i v3, the message appears as in the subject of my post, while calling e.g. the lpshut command.
> lpshut
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Abort
A few questions:
- How to fix it? (obvious)
- Is it normal that some 32-bits libs are called on a 64-bits system, although those files exist in /usr/lib/hpux64?
Thanks for your answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 08:14 AM
тАО06-07-2011 08:14 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
# ldd `which lpshut`
# echo SHLIB_PATH
Please provide.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 08:14 AM
тАО06-07-2011 08:14 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
echo $SHLIB_PATH
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 08:56 AM
тАО06-07-2011 08:56 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Yes, entirely normal on HP-UX at least. The lpshut binary is a 32-bit one:
#file /usr/sbin/lpshut
/usr/sbin/lpshut: ELF-32 executable object file - IA64
Would also be interesting to see the output of:
#ll /usr/lib/hpux32/libdl.so.1
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 08:05 PM
тАО06-07-2011 08:05 PM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
/usr/lib/hpux32/dld.so is dynamic linker and loader, required for all 32-bit dynamically linked executables. If this file is not present, you need to restore OS-Core.CORE2-SHLIBS from the install media or re-install "linker + fdp cummulative patch".
Regards
-Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2011 02:31 AM
тАО06-08-2011 02:31 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
If the problem is due to the wrong permissions or the directory or file was moved, then you could attempt to recover with the commands in /sbin/.
>Duncan: Would also be interesting to see the output of: ll /usr/lib/hpux32/libdl.so.1
Why is this so important? Though libc won't work without it.
>Rajesh: you need to restore OS-Core.CORE2-SHLIBS from the install media or re-install "linker + fdp cummulative patch".
This would be a good trick due to chickens and eggs. ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2011 05:21 AM
тАО06-08-2011 05:21 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
and thanks to all of you for your quick answers.
That will provide the requested informations:
> ldd `which lpshut`
/usr/sbin/lpshut:
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
> echo $SHLIB_PATH
sh: SHLIB_PATH: Parameter not set.
Note: the SHLIB_PATH variable is not set on another machine with a comparable configuration, on which lp* command does not return an exception.
------------------------------------------------------------------------------------
> ll /usr/lib/hpux32/libdl.so.1
-r-xr-xr-x 1 bin bin 76240 Dec 21 05:50 /usr/lib/hpux32/libdl.so.1
> ll /usr/lib/hpux32/uld.so
-r-xr-xr-x 1 bin bin 181240 Dec 21 05:50 /usr/lib/hpux32/uld.so
> ll /usr/lib/hpux32/dld.so
-r-xr-xr-x 1 bin bin 1148332 Dec 21 05:50 /usr/lib/hpux32/dld.so
> what /usr/lib/hpux32/libdl.so.1
/usr/lib/hpux32/libdl.so.1:
92453-07 dld dld libdl.1 HP Itanium(R) B.12.56
REL Wed Dec 1 12:24:44 2010 PST
> what /usr/lib/hpux32/uld.so
/usr/lib/hpux32/uld.so:
92453-07 linker uld HP Itanium(R) B.12.56
REL Wed Dec 1 12:24:44 2010 PST
> what /usr/lib/hpux32/dld.so
/usr/lib/hpux32/dld.so:
92453-07 linker dld HP Itanium(R) B.12.56
REL Wed Dec 1 12:24:44 2010 PST
------------------------------------------------------------------------------------
Nothing that new, I'm afraid.
What do you think about this, gentlemen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2011 06:03 AM
тАО06-08-2011 06:03 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
When you run:
ldd `which lpshut`
Are you saying the output you get is:
/usr/sbin/lpshut:
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Rather than (what I get):
/usr/sbin/lpshut:
libsec.so.1 => /usr/lib/hpux32/libsec.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
What user are you running this as? What's the output of:
ll -d /usr/lib
ll -d /usr/lib/hpux32
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2011 06:18 AM
тАО06-08-2011 06:18 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
yes I mean it!
> ll -d /usr/lib
dr-xr-xr-x 35 bin bin 8192 Jun 8 13:59 /usr/lib
> ll -d /usr/lib/hpux32
dr-xr-xr-x 11 bin bin 8192 Jun 8 14:05 /usr/lib/hpux32
Logged in as root.
System Administrators' Team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2011 06:20 AM
тАО06-08-2011 06:20 AM
Re: /usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
yes I mean it!
> ll -d /usr/lib
dr-xr-xr-x 35 bin bin 8192 Jun 8 13:59 /usr/lib
> ll -d /usr/lib/hpux32
dr-xr-xr-x 11 bin bin 8192 Jun 8 14:05 /usr/lib/hpux32
Logged in as root.