- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why ldd fails on dld.sl ?
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
тАО01-02-2005 09:23 PM
тАО01-02-2005 09:23 PM
Env: PARISC-2 ; OS-11.11 , 11.23
# ldd /usr/lib/dld.sl
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/dld.sl
/usr/lib/dld.sl: Not enough space
TIA -vishwas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2005 11:33 PM
тАО01-02-2005 11:33 PM
Re: Why ldd fails on dld.sl ?
Look at
http://web.gat.com/comp/analysis/mdsplus/textfilebusy.html
Also
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Section on 32 bit limitations
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 04:53 PM
тАО01-03-2005 04:53 PM
Re: Why ldd fails on dld.sl ?
Take a look at these threads:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=389887
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=98898
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xae318f960573d611abdb0090277a778c,00.html
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=35289
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=730518
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=49713
HTH.
Regards,
Sri Ram
- Tags:
- broken URL link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 06:53 PM
тАО01-03-2005 06:53 PM
Re: Why ldd fails on dld.sl ?
issue.
-vishwas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 09:39 PM
тАО01-03-2005 09:39 PM
Solutiondld is a special shared library which (as you may know) actually loads other shared libraries required by the program.
the ldd functionality is actually implemented inside dld itself. when you run ldd on an executable file, ldd actually invokes your executable with _HP_DLDOPTS set to "-ldd". the dld loads all the shared libraries and on seeing "-ldd" in _HP_DLDOPTS, lists them out (but does not transfer control to the program, so the program does not run).
when you run ldd on a shared library, a dummy program /usr/ccs/bin/lddstub is invoked with the specified library effectively preloaded and with _HP_DLDOPTS set to "-ldd". so about the same thing as above happens.
if you try this with dld.sl, the dld which is already loaded tries to load itself again and fails (i guess you cant mmap same file shared twice in the same process?). this is what you see as a "failure".
ldd is not written to handle this special case and will probably not be fixed either : it is not really worth the effort because anyway, there isnt really much you can find by running ldd on dld.sl: it does not depend on any other shared libraries and all its symbol references are resolved internally (by itself of course, on startup, amounting to immediate binding).
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 09:45 PM
тАО01-03-2005 09:45 PM
Re: Why ldd fails on dld.sl ?
I meant the same , but was not explicit. Thanks
again for the full explanation. I also
understand that it is not worth fixing for this
special case.
-vishwas