www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/04/19:39:00

X-Spam-Check-By: sourceware.org
Date: Sun, 4 Jun 2006 19:38:48 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: BUG (1.5.19-4): libdl.a is missing
Message-ID: <20060604233848.GB805@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <44814F26 DOT 5030109 AT bytesage DOT com>
Mime-Version: 1.0
In-Reply-To: <44814F26.5030109@bytesage.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Sat, Jun 03, 2006 at 01:58:14AM -0700, Daniel Santos wrote:
>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...

I've added a libdl.a to the latest snapshot, however any project which
relies on the existence of this library without checking to see if it
exists is broken as far as portability is concerned.

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

There is a "Reporting Problems" link on nearly every page of the cygwin
web site.

>Will be worse if I have to subscribe to this list to post to it.

http://cygwin.com/lists.html states which mailing lists are moderated.
You've just discovered that the main cygwin list is not one of them.

Phew.  I guess we dodged that bullet, at least.  I almost came >this<
close to having to refund all of your money for the inconvenience you've
suffered.

cgf

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