delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/25/06:42:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Liang Wang <netcasper AT gmail DOT com>
Subject: Where is libdl which is used by cppunit
Date: Thu, 25 Nov 2004 19:42:28 +0800
Lines: 14
Message-ID: <usm6y9mu3.fsf@gmail.com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 61.170.229.165
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)
X-IsSubscribed: yes

I wrote an example to try cppunit, but got error message below:

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: 
cannot find -ldl

Where is libdl?  I can't find it.

Here is my Makefile.
=======================================================
example : IntTest.o main.o g++ -o example IntTest.o main.o 
-lcppunit -ldl IntTest.o : Int.h IntTest.h IntTest.cpp main.o : 
main.cpp clean: rm -f example IntTest.o main.o test : example 
./example =======================================================



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019