The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Makefile help tantric High Level Programming 4 04-13-2007 02:35 AM
Makefile NamrataGurav High Level Programming 7 10-07-2006 03:29 PM
about the makefile ligerdave High Level Programming 2 01-31-2006 01:21 AM
Using cut within makefile wvdeijk UNIX for Dummies Questions & Answers 2 12-14-2005 05:11 PM
makefile help pieter023 Shell Programming and Scripting 1 06-06-2005 02:20 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-20-2007
debu debu is offline
Registered User
  
 

Join Date: May 2007
Posts: 10
Oracle_Libs in makefile.

Hi,
In makefile I have an entry ORACLE_LIBS=-lclntsh.
Can anyone explain the meaning of this .
I want to knowwhat is -lclntsh.

Last edited by debu; 05-20-2007 at 10:51 AM..
  #2 (permalink)  
Old 05-20-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
This statement by itself does not do anything except assigning the value '-lclntsh' to the variable ORACLE_LIBS. What you really need to see is the place where ORACLE_LIBS is actually used.
  #3 (permalink)  
Old 05-20-2007
debu debu is offline
Registered User
  
 

Join Date: May 2007
Posts: 10
Quote:
Originally Posted by debu
Hi,
In makefile I have an entry ORACLE_LIBS=-lclntsh.
Can anyone explain the meaning of this .
I want to know what is -lclntsh.
  #4 (permalink)  
Old 05-22-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
-lclntsh tells cc to use the clntsh library when linking the executable file.
  #5 (permalink)  
Old 05-22-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
More specifically

libclntsh.so or libclntsh.a

Typically this would be preceeded with

-L$(ORACLE_HOME)/lib

or similar to say look for libraries here.

a wild guess would tell me this is a client library for Oracle.
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:12 PM.


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