X-Spam-Check-By: sourceware.org Message-ID: <587d37680708292247k5bf8a21en423298d5b72cfb67@mail.gmail.com> Date: Thu, 30 Aug 2007 11:17:03 +0530 From: "Senthil Nathan" To: cygwin AT cygwin DOT com Subject: ldconfig problem In-Reply-To: <587d37680708292245t687eb4ban4c512ba6e6f6c566@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <587d37680708292245t687eb4ban4c512ba6e6f6c566 AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I'm using cygwin for the first time to compile my programs. I get the following error during dynamic loading of my libraries. And I came to know that there is no concept of "ldconfig". So how do I load my dynamic libraries while compiling. this is the command i run on linux platform, which works well. $ gcc `xml2-config --cflags --libs` -o save save.c --> /usr/local/lib has the library to linked with this. but how do i compile this in cygwin. and the error I get in cygwin is, /cygdrive/c/DOCUME~1/che02099/LOCALS~1/Temp/ccWWThmX.o:save.c:(.text+0x15c): undefined reference collect2: ld returned 1 exit status Thanks Senthil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/