From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13522 invoked by alias); 20 Jun 2006 03:00:08 -0000 Received: (qmail 13512 invoked by uid 22791); 20 Jun 2006 03:00:08 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0102.google.com (HELO wx-out-0102.google.com) (66.249.82.203) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Jun 2006 03:00:02 +0000 Received: by wx-out-0102.google.com with SMTP id i27so978098wxd for ; Mon, 19 Jun 2006 20:00:00 -0700 (PDT) Received: by 10.70.46.2 with SMTP id t2mr8184709wxt; Mon, 19 Jun 2006 20:00:00 -0700 (PDT) Received: by 10.70.109.15 with HTTP; Mon, 19 Jun 2006 19:59:59 -0700 (PDT) Message-ID: Date: Tue, 20 Jun 2006 03:00:00 -0000 From: "Vivek Katakam" To: gcc-help@gcc.gnu.org Subject: Adding a library MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00154.txt.bz2 Hi All, I have a problem at Linker stage in the compilation process. If I include libsqlplus.so as -lsqlplus it is generating the binary otherwise it is the giving undefined reference to sqlca function. I have also given the LD_LIBRARY_PATH etc. Because I have to change at lot number of places , is there a way around so that i can dynamically include this library for example through ranlib. Regards, Vivek