- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Issue(s) with aCC/ld and 64 bits SharedLibs ?
Operating System - HP-UX
1753288
Members
5826
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-18-2002 09:17 AM
тАО07-18-2002 09:17 AM
Issue(s) with aCC/ld and 64 bits SharedLibs ?
Hi,
I'm trying to link a 64bits SharedLib with an other 64 bits Sharedlib (by using its internal name).
It works with 32 bits Shared lib, but not with 64 bits shared lib.
The problem occurrs during the link step and I get a message :
ld: Can't find dependent library ""
Isn't there any issue here ?
Many thanks,
Regards
Christophe
I'm trying to link a 64bits SharedLib with an other 64 bits Sharedlib (by using its internal name).
It works with 32 bits Shared lib, but not with 64 bits shared lib.
The problem occurrs during the link step and I get a message :
ld: Can't find dependent library "
Isn't there any issue here ?
Many thanks,
Regards
Christophe
I tried but...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 11:54 PM
тАО07-18-2002 11:54 PM
Re: Issue(s) with aCC/ld and 64 bits SharedLibs ?
Hi
Increase maxfiles to solve it:
Use kernel regen or
ulimit -Sn nnn // to set size
Steve Steel
Increase maxfiles to solve it:
Use kernel regen or
ulimit -Sn nnn // to set size
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2002 12:41 AM
тАО07-19-2002 12:41 AM
Re: Issue(s) with aCC/ld and 64 bits SharedLibs ?
Hi Steve,
First, thanks for your feed-backs.
I tried to increase the value of maxfiles, but... it does not help me and I still get the same error message from ld...
Isn't there any problem by calling external shared libs with their "internal name" for 64bits SharedLibs ?
Thanks,
Christophe
First, thanks for your feed-backs.
I tried to increase the value of maxfiles, but... it does not help me and I still get the same error message from ld...
Isn't there any problem by calling external shared libs with their "internal name" for 64bits SharedLibs ?
Thanks,
Christophe
I tried but...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2002 03:23 AM
тАО07-19-2002 03:23 AM
Re: Issue(s) with aCC/ld and 64 bits SharedLibs ?
Create a shared library with an internal name:
ld -b -o libfoo1.1 foo1.o foo2.o +h libfoo1.1
On 32 bit, link a program with libfunc.sl but use the archive version of the C library. Specify the immediate binding mode together with the nonfatal modifier and allow verbose diagnostics to be displayed:
ld /usr/ccs/lib/crt0.o -B immediate -B nonfatal -B verbose \
program.o -L . -lfunc -a archive -lc
To do this on 64 bit:
ld -B immediate -B nonfatal -B verbose \
program.o -L . -lfunc -a archive -lc
Are you sur eof the library
Try the +compat option
see
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90655/B2355-90655_top.html&con=/hpux/onlinedocs/B2355-90655/00/00/53-con.html&toc=/hpux/onlinedocs/B2355-90655/00/00/53-toc.html&searchterms=ld&queryid=20020719-042347
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90655/B2355-90655_top.html&con=/hpux/onlinedocs/B2355-90655/00/00/11-con.html&toc=/hpux/onlinedocs/B2355-90655/00/00/11-toc.html&searchterms=compat&queryid=20020719-042656
Steve Steel
ld -b -o libfoo1.1 foo1.o foo2.o +h libfoo1.1
On 32 bit, link a program with libfunc.sl but use the archive version of the C library. Specify the immediate binding mode together with the nonfatal modifier and allow verbose diagnostics to be displayed:
ld /usr/ccs/lib/crt0.o -B immediate -B nonfatal -B verbose \
program.o -L . -lfunc -a archive -lc
To do this on 64 bit:
ld -B immediate -B nonfatal -B verbose \
program.o -L . -lfunc -a archive -lc
Are you sur eof the library
Try the +compat option
see
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90655/B2355-90655_top.html&con=/hpux/onlinedocs/B2355-90655/00/00/53-con.html&toc=/hpux/onlinedocs/B2355-90655/00/00/53-toc.html&searchterms=ld&queryid=20020719-042347
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90655/B2355-90655_top.html&con=/hpux/onlinedocs/B2355-90655/00/00/11-con.html&toc=/hpux/onlinedocs/B2355-90655/00/00/11-toc.html&searchterms=compat&queryid=20020719-042656
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP