- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr/ccs/bin/ld: Can't find library for -lclntsh
Operating System - HP-UX
1748171
Members
4588
Online
108758
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
тАО03-05-2008 03:36 AM
тАО03-05-2008 03:36 AM
/usr/ccs/bin/ld: Can't find library for -lclntsh
I am trying to link my application with Oracle and am getting the following error
I have also installed licensed copy of aCC compiler.
Any help is higly appreciated.
Error is as follows
/d02/srf/appltest/testora/8.0.6/lib/sysliblist` -lm /d02/srf/appltest/testora/8.0.6/rdbms/lib/defopt.o/d02/srf/appltest/testora/8.0.6/rdbms/lib/ssbbded.o
sh: aCC: not found.
*** Error exit code 127
/d02/srf/appltest/testora/8.0.6/lib/sysliblist` -lm -lpthread -lpthread -L/d02/srf/appltest/testora/8.0.6/network/jre11/lib/PA_RISC/native_threads/-ljava
/usr/ccs/bin/ld: Can't find library for -lclntsh
*** Error exit code 1
/d02/srf/appltest/testora/8.0.6/lib/sysliblist` -lm -lpthread -lpthread -L/d02/srf/appltest/testora/8.0.6/network/jre11/lib/PA_RISC/native_threads/
-ljava -L/usr/lib/Motif2.1 -L -R -lXm -lXt -lX11 -lm -lix60 -lnlsrtl3
/usr/ccs/bin/ld: Can't find library for -lclntsh
*** Error exit code 1
I have also installed licensed copy of aCC compiler.
Any help is higly appreciated.
Error is as follows
/d02/srf/appltest/testora/8.0.6/lib/sysliblist` -lm /d02/srf/appltest/testora/8.0.6/rdbms/lib/defopt.o/d02/srf/appltest/testora/8.0.6/rdbms/lib/ssbbded.o
sh: aCC: not found.
*** Error exit code 127
/d02/srf/appltest/testora/8.0.6/lib/sysliblist` -lm -lpthread -lpthread -L/d02/srf/appltest/testora/8.0.6/network/jre11/lib/PA_RISC/native_threads/-ljava
/usr/ccs/bin/ld: Can't find library for -lclntsh
*** Error exit code 1
/d02/srf/appltest/testora/8.0.6/lib/sysliblist` -lm -lpthread -lpthread -L/d02/srf/appltest/testora/8.0.6/network/jre11/lib/PA_RISC/native_threads/
-ljava -L/usr/lib/Motif2.1 -L -R -lXm -lXt -lX11 -lm -lix60 -lnlsrtl3
/usr/ccs/bin/ld: Can't find library for -lclntsh
*** Error exit code 1
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2008 04:40 AM
тАО03-05-2008 04:40 AM
Re: /usr/ccs/bin/ld: Can't find library for -lclntsh
First check if you really need the clntsh library. I have several oracle environments and they don't have it.
If you really need it there is a script in $ORACLE_HOME/bin/genclntsh which supposedly generates it. I have not tried it so I don't know if it will fix your problem. In the script it says that the clntsh is needed if you install OCI, Pro*C and XA.
So if you don't need the OCI, Pro*C and XA you probably selected some options in the installer thet you should not have selected.
If you really need it there is a script in $ORACLE_HOME/bin/genclntsh which supposedly generates it. I have not tried it so I don't know if it will fix your problem. In the script it says that the clntsh is needed if you install OCI, Pro*C and XA.
So if you don't need the OCI, Pro*C and XA you probably selected some options in the installer thet you should not have selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2008 05:05 AM
тАО03-05-2008 05:05 AM
Re: /usr/ccs/bin/ld: Can't find library for -lclntsh
>I have also installed licensed copy of aCC compiler.
>sh: aCC: not found.
(A license for every CPU core?)
Is /opt/aCC/bin in your PATH?
>/d02/srf/appltest/testora/8.0.6/lib/sysliblist`
You're missing the beginning of this. You would also need to add -v so we can see what ld is getting.
>sh: aCC: not found.
(A license for every CPU core?)
Is /opt/aCC/bin in your PATH?
>/d02/srf/appltest/testora/8.0.6/lib/sysliblist`
You're missing the beginning of this. You would also need to add -v so we can see what ld is getting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 10:46 PM
тАО03-28-2008 10:46 PM
Re: /usr/ccs/bin/ld: Can't find library for -lclntsh
Issue resolved by installing java 1.3
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
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