delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/03/02:58:19

X-Spam-Check-By: sourceware.org
Message-ID: <44814F26.5030109@bytesage.com>
Date: Sat, 03 Jun 2006 01:58:14 -0700
From: Daniel Santos <daniel AT bytesage DOT com>
Reply-To: daniel DOT santos AT pobox DOT com
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: BUG (1.5.19-4): libdl.a is missing
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

cygwin (as in the base cygwin package) is missing /lib/libdl.a.  The 
install for the cygwin package should create a symlink with this name 
that links to libcygwin.a in the same directory.  Otherwise, builds for 
a lot of different software packages are broken.  Example is bash-3.1.  
It will die at this point:

gcc -DHAVE_CONFIG_H -DSHELL  -I. -I.. -I../include -I../lib -g 
-DCROSS_COMPILING -o mkbuiltins mkbuiltins.o -ldl
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
cannot find -ldl
collect2: ld returned 1 exit status

Create the above symlink and everybody is happy, nobody has to die...

Note:  It was a pain in the ass to figure out how to report and bug.  
Would be nice if there was a bug database or something.  Will be worse 
if I have to subscribe to this list to post to it.

Daniel
-- 

dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
mkswap -v0 /ram/awsomeswap 16384
/bin/sync
/sbin/swapon /ram/awsomeswap


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