- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unsatisfied code symbol '__umodsi3' in load module...
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
Forums
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
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
02-01-2007 11:14 PM
02-01-2007 11:14 PM
Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
I have installed the gawk-3.1.5-ia64-11.23.depot on an IA64 (Itanium) server.
What does the output from "file /usr/local/bin/gawk" indicate?
# file /usr/local/bin/gawk
/usr/local/bin/gawk: ELF-32 executable object file - IA64
Is it a 32-bit application for IA64?
can 32-bit applications run on IA64?; I was of the opinion that we need an 32-bit emulator to run 32-bit binaries on the IA64 platform.
One of our developers is getting the below issue, while running a test suite.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__umodsi3' in load module '/usr/local/bin/awk'
Please suggest,
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 11:23 PM
02-01-2007 11:23 PM
Re: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
Further to this, find the output of "ldd -r /usr/local/bin/gawk"
# ldd -r /usr/local/bin/gawk
/usr/local/lib/hpux32/libintl.so => /usr/local/lib/hpux32/libintl.so
/usr/local/lib/hpux32/libiconv.so => /usr/local/lib/hpux32/libiconv.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libiconv.so => /usr/local/lib/hpux32/libiconv.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
symbol not found: __umodsi3 (/usr/local/bin/gawk)
Please suggest,
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 11:44 PM
02-01-2007 11:44 PM
Re: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
I installed gawk on another IA64 server here in our lab.
However, this problem does not exist in this server.
# file /usr/local/bin/gawk
/usr/local/bin/gawk: ELF-32 executable object file - IA64
# ldd /usr/local/bin/gawk
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
# ldd -r /usr/local/bin/gawk
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
#
Please suggest,
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2007 12:26 AM
02-02-2007 12:26 AM
Re: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
The root cause of the issue seems to be the environment variable (export LD_LIBRARY_PATH=/opt/java1.5/jre/lib/IA64N/server/) set in the .profile file of the root.
When LD_LIBRARY_PATH is set as mentioned above, and if we install the gawk this is what ldd will report:
# ldd -r /usr/local/bin/gawk
/usr/local/lib/hpux32/libintl.so => /usr/local/lib/hpux32/libintl.so
/usr/local/lib/hpux32/libiconv.so => /usr/local/lib/hpux32/libiconv.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libiconv.so => /usr/local/lib/hpux32/libiconv.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
symbol not found: __umodsi3 (/usr/local/bin/gawk)
I commented this in the .profile of the root and installed gawk on a new session. Now this is what ldd has got to say:
# ldd /usr/local/bin/gawk
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
# ldd -r /usr/local/bin/gawk
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
I am myself surprised by the way I found the root cause.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2007 06:02 PM
02-02-2007 06:02 PM
Re: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
You can run 32 bit IPF application on HP-UX IPF. That is the default data model. You can't run 32 bit x86 applications on HP-UX.
>I am myself surprised by the way I found the root cause.
This is totally uncomprehensible. Why should setting LD_LIBRARY_PATH to /opt/.../server/ cause extra shlibs to be loaded?? Are there any files named libdl.so.1 libm.so.1 or libc.so.1 there??
I can duplicate the issue when using a gnu grep. But that also fails without the LD_LIBRARY_PATH, provided I execute the path in grep that calls that function.
In my grep when I use chatr -B immediate, I get another unsat, __udivdi3.
So my grep and your awk were linked incorrectly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 03:11 PM
08-11-2008 03:11 PM
Re: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.6/
That fixed the same issue for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 03:59 PM
08-11-2008 03:59 PM
Re: Unsatisfied code symbol '__umodsi3' in load module '/usr/bin/awk'
Yes, new versions with a fixed makefile should do it. See my replies in these threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1249936
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1026966
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1140627