- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc 3.3.3 link HPUX 11.11 ld: cannot find -l:libcl...
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
тАО06-08-2004 02:49 AM
тАО06-08-2004 02:49 AM
gcc 3.3.3 link HPUX 11.11 ld: cannot find -l:libcl.sl
I've got gcc for PA-RISC 3.3.3 package size 11.iv1 parisc installed on a L1000
I also have ORACLE installed on this server :
version 9.2.0.1.0
If I compile with a cc compiler, everything is ok.
If I compile with 64 bit gcc compiler I've the following problem :
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/../../../../hppa64-hp-hpux11.11/bin/ld: cannot find -l:libcl.sl
it is the same with -l:librt.sl,
-l:libnss_dns.1 and -l:libdld.sl
the compiler is
"rm -f *.lis && rm -f *.pc && /usr/local/pa64/bin/gcc"
the linker is
"/usr/local/pa64/bin/gcc "
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/local/pa64/lib
link option : -L/home/oracle/app/oracle/product/9.2.0.1.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl -lm -lpthread
corresponding to :
-L$ORACLE_HOME/lib/ -lclntsh `cat $ORACL
E_HOME/lib/ldflags` `cat $ORACLE_HOME/lib/sysliblist` -lm -lpthread
the source files is written in C.
the same application with gcc version 3.2 20020708 (experimental) , oracle 8.1.7, HP 11.00 compile fine (installed on another server).
Could you explain me what I missed ?
Sincerely
Bernard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 02:57 AM
тАО06-08-2004 02:57 AM
Re: gcc 3.3.3 link HPUX 11.11 ld: cannot find -l:libcl.sl
LD_LIBRARY_PATH=/usr/lib/pa20_64:$ORACLE_HOME/lib:/usr/local/pa64/lib
and try again
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 02:57 AM
тАО06-08-2004 02:57 AM
Re: gcc 3.3.3 link HPUX 11.11 ld: cannot find -l:libcl.sl
Can you do a file on the libraries to make sure that they are 64-bit libraries.
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 03:02 AM
тАО06-08-2004 03:02 AM
Re: gcc 3.3.3 link HPUX 11.11 ld: cannot find -l:libcl.sl
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 04:52 AM
тАО06-08-2004 04:52 AM
Re: gcc 3.3.3 link HPUX 11.11 ld: cannot find -l:libcl.sl
with the hpux linker, the -l: format is used to override the default shared library lookup or forced archived library lookup when using the linker option "-a archive". if you have to do this i guess you will have to specify the full path for the library (or say -L/usr/lib/pa20_64 librt.sl?). so you need to change your link line.
--
ranga
[i work for hpe]