The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
grep unix.com with google



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-27-2009
Registered User
 

Join Date: Aug 2008
Posts: 29
Problem in compilation.

Hi,


I am executing the below mentioned code:-


Code:
 
proc SQLCHECK=SEMANTICS iname=CDBInteractor.pc parse=none code=cpp cpp_suffix=cpp
g++ -c main.cpp
g++ -o pre_request_engine main.o -I/oracle/oracle/app/product/10g/precomp  -L/oracle/oracle/app/product/10g/lib32 -lnsl -ldl


And getting an error

Code:
collect2: library libclntsh not found

Please suggest something!!

Thanks in advance...

Last edited by zaxxon; 11-27-2009 at 07:43 AM.. Reason: code tags
  #2 (permalink)  
Old 11-27-2009
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 2,537
Try to get that missing libclntsh from you Linux Toolbox CDs or the web; something like that?
  #3 (permalink)  
Old 12-01-2009
funksen funksen is offline Forum Advisor  
Registered User
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 438
libclntsh is part of the oracle client

see if you have it


Code:
/oracle/Ora817/lib/libclntsh.a

I picket a random oracle client, it lies here in my case

try to ad the oracle lib directory to you LIBPATH
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
C Compilation problem on9west High Level Programming 2 10-14-2009 01:28 AM
Compilation problem Cyr1us AIX 1 05-05-2009 11:40 AM
Problem on Pro*C compilation on HP-UX asutoshch UNIX for Advanced & Expert Users 5 04-29-2009 12:52 PM
Compilation problem on HP-UX varuntayur High Level Programming 1 02-19-2008 02:07 PM
compilation problem mansoorulhaq SUN Solaris 0 10-19-2007 09:18 AM



All times are GMT -4. The time now is 10:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0