- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ld: Can't find library for -ldl in hp-ux itani...
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
тАО10-12-2009 10:10 AM
тАО10-12-2009 10:10 AM
ld: Can't find library for -ldl in hp-ux itanium
recently we had setup nw itanium box for testing application.it has got informix IDS 11.50 Dev edition(64 bit) and 32 bit tools on it.
we are getting following error
c4gl db_lock.4gl -o db_lock.
ld: Can't find library for -ldl
Fatal error.
any help greatly appreciated
- Tags:
- libdl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 11:48 AM
тАО10-12-2009 11:48 AM
Re: ld: Can't find library for -ldl in hp-ux itanium
command which produced this complaint.
Do you have a libdl.* anywhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 12:06 PM
тАО10-12-2009 12:06 PM
Re: ld: Can't find library for -ldl in hp-ux itanium
Thanks for the reply
c4gl db_lock.4gl -o db_lock this is the command am trying to execute.
we have libdl* files in /usr/lib dir
lr-xr-xr-x 1 bin bin 10 Aug 31 10:40 libdld.0 -> ./libdld.1
-r-xr-xr-x 1 bin bin 12288 Feb 15 2007 libdld.1
-r-xr-xr-x 1 bin bin 24576 Jul 11 2008 libdld.2
lr-xr-xr-x 1 bin bin 10 Aug 31 10:40 libdld.sl -> ./libdld.2
-r-xr-xr-x 1 bin bin 12288 Jan 12 2007 libdlv_vxfs.1
lr-xr-xr-x 1 bin bin 15 Aug 31 10:44 libdlv_vxfs.sl -> ./libdlv_vxfs.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 02:28 PM
тАО10-12-2009 02:28 PM
Re: ld: Can't find library for -ldl in hp-ux itanium
Well, now you have some idea how little I
know about the Informix environment.
The real mystery is what the (hidden) "ld"
command looks like (and why?). If "c4gl"
offers any verbose/debug options, then they
might get you some info.
"man ld" should reveal any environment
variables which might be affecting ld's
operation (LDOPTS, LPATH, ...).
> recently we had setup nw itanium box [...]
Is everything working right on some other
system? Comparison can be useful.
> we have libdl* files in /usr/lib dir
Fine, but none of them is a "libdl.*", and
that's what "-ldl" would be requesting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 03:54 PM
тАО10-12-2009 03:54 PM
Re: ld: Can't find library for -ldl in hp-ux itanium
What does your link line look like?
This IS linking Integrity executables and not PA-RISC?
>Steven: If "c4gl" offers any verbose/debug options, then they might get you some info.
Right. Especially if LPATH is changed.
If c4gl doesn't have -v, you can use:
LDOPTS=-v c4gl db_lock.4gl -o db_lock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 08:46 AM
тАО10-13-2009 08:46 AM
Re: ld: Can't find library for -ldl in hp-ux itanium
Thanks for the reply.
/usr/lib/hpux32
lr-xr-xr-x 1 bin bin 12 Aug 31 10:40 libdl.so -> ./libdl.so.1
-r-xr-xr-x 1 bin bin 76236 Aug 13 2008 libdl.so.1
lr-xr-xr-x 1 bin bin 12 Aug 31 10:40 libdld.so -> ./libdl.so.1
lr-xr-xr-x 1 bin bin 18 Aug 31 10:44 libdlv_vxfs.so -> ./libdlv_vxfs.so.1
-r-xr-xr-x 1 bin bin 70488 Jan 12 2007 libdlv_vxfs.so.1
/usr/liib/hpux64
Informix pdcx [51] ls -l libdl*
lr-xr-xr-x 1 bin bin 12 Aug 31 10:41 libdl.so -> ./libdl.so.1
-r-xr-xr-x 1 bin bin 78488 Aug 13 2008 libdl.so.1
lr-xr-xr-x 1 bin bin 12 Aug 31 10:41 libdld.so -> ./libdl.so.1
lr-xr-xr-x 1 bin bin 18 Aug 31 10:44 libdlv_vxfs.so -> ./libdlv_vxfs.so.1
-r-xr-xr-x 1 bin bin 71664 Jan 12 2007 libdlv_vxfs.so.1
and LDOPS is set as follows
LDOPTS=+vnocompatwarnings
and am trying to run what u gave me,getting same error msg.
mlurf:/app/wms/urf/opt/viaware/dbs/lock_level> LDOPTS=-v c4gl db_lock.4gl -o db_lock
ld: Can't find library for -ldl
Fatal error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 04:06 PM
тАО10-13-2009 04:06 PM
Re: ld: Can't find library for -ldl in hp-ux itanium
Of course. But you should get a massive output file which can be used for triage.
>LDOPTS=-v c4gl db_lock.4gl -o db_lock
ld: Can't find library for -ldl
If you don't get a file, you'll need to use tusc to see what ld is getting.
tusc -fp -ea -o tusc.out c4gl db_lock.4gl -o db_lock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 08:47 AM
тАО10-14-2009 08:47 AM
Re: ld: Can't find library for -ldl in hp-ux itanium
whenever am trying to run LDOPTS am getting a file in unreadable manner.
there is no tusc.I did which tusc but cant find anything
Mallik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 08:55 AM
тАО10-14-2009 08:55 AM
Re: ld: Can't find library for -ldl in hp-ux itanium
> there is no tusc.I did which tusc but cant find anything
This doesn't come with HP-UX but can be quickly installed with 'swinstall' by fetching it from here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.10/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 10:01 AM
тАО10-14-2009 10:01 AM
Re: ld: Can't find library for -ldl in hp-ux itanium
> a file in unreadable manner.
What does that mean?