- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to make the libdl.sl library available to ...
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
07-08-2003 12:47 PM
07-08-2003 12:47 PM
how to make the libdl.sl library available to ld
I'm trying to build an application on HP-UX but I have problems at the linking step:
libc.2
-n Checking glibc subversion...
gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"0.6.2\" installwatch.c
ld -shared -o installwatch.sl installwatch.o -ldl -ldld -lc
ld: Can't find library for -ldl
*** Error exit code 1
Anyone can help me ?
Thanks in advance,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 02:42 PM
07-08-2003 02:42 PM
Re: how to make the libdl.sl library available to ld
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 03:18 PM
07-08-2003 03:18 PM
Re: how to make the libdl.sl library available to ld
Or are you suggesting that if I try to compile the application wat 64bits it would work without patching ?
Thanks in advance for your precision.
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 07:57 PM
07-08-2003 07:57 PM
Re: how to make the libdl.sl library available to ld
patch with that in was back in May of 2000. There are plenty of reasons to have at least that new of a linker and loader patch. The current patch is available from
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_28434
I would favor using 32-bit libdld and a new enough patch level. If you had some other reason to switch to 64-bit mode, then you would use libdl. If you don't want to require any patches on 11.00 you could also chose to change the code to use the shl_load function and related functions instead of dlopen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:41 AM
07-09-2003 05:41 AM
Re: how to make the libdl.sl library available to ld
I'm trying to install the patch you refered me too and it seems like this patch isn't for 11i. I haven't found other patches specific to HP-UX 11.11 .Here is the log:
[qcashp02@root]: swinstall -s /tmp/LDDpatch/depot PHSS_28434
======= 07/09/03 09:31:00 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=qcashp02-0019)
* Session started for user "root@qcashp02".
* Beginning Selection
* Target connection succeeded for "qcashp02:/".
* Source connection succeeded for
"qcashp02:/tmp/LDDpatch/depot".
ERROR: Could not apply the software selection "PHSS_28434" because
there are no product variations that are compatible with the
destination host(s).
* Software selection failed for "qcashp02:/tmp/LDDpatch/depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.
======= 07/09/03 09:31:02 EDT END swinstall SESSION (non-interactive)
(jobid=qcashp02-0019)
Thanks for you help!
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:07 AM
07-09-2003 06:07 AM
Re: how to make the libdl.sl library available to ld
We have /usr/lib/libdld.sl linked to /usr/lib/libdld.2
Regards,
Manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:14 AM
07-09-2003 06:14 AM
Re: how to make the libdl.sl library available to ld
we have it too. But the linker is still complaining, maybe I'm just using the wrong linker options ??
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:26 AM
07-09-2003 06:26 AM
Re: how to make the libdl.sl library available to ld
Regards,
Manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:08 AM
07-09-2003 07:08 AM
Re: how to make the libdl.sl library available to ld
What system have you got?
in my IA64 platform they are inside:
/usr/lib/hpux32/libdl.so
/usr/lib/pa20_64/libdl.sl
/usr/lib/hpux64/libdl.so
__Mehdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 12:59 PM
07-09-2003 12:59 PM
Re: how to make the libdl.sl library available to ld
Is ld complaining about missing symbols?