X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_00,BOTNET X-Spam-Check-By: sourceware.org Message-id: <4B992DD5.7040604@cygwin.com> Date: Thu, 11 Mar 2010 12:52:21 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gettext/libiconv and libtool problem References: <6 DOT 1 DOT 1 DOT 1 DOT 2 DOT 20100311181323 DOT 01d8b5f0 AT 192 DOT 168 DOT 6 DOT 12> In-reply-to: <6.1.1.1.2.20100311181323.01d8b5f0@192.168.6.12> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 3/11/2010 12:29 PM, Roger While wrote: > > gettext has a requirement on libiconv2. > libiconv2 contains only the cygiconv dll and nothing else. > > OK. So we have a typical (libtooled) autoconf/automake configure which has > a AM_GNU_GETTEXT([external]). > > Fine, the configure proceeds and produces something like - > > checking for GNU gettext in libc... no > checking for iconv... no, consider installing GNU libiconv > checking for GNU gettext in libintl... yes > checking whether to use NLS... yes > checking where the gettext function comes from... external libintl > checking how to link with libintl... -lintl > > etc. > Also fine. > > We then do the make which blows up with - > > libtool: link: cannot find the library `/usr/lib/libiconv.la' or > unhandled argument > `/usr/lib/libiconv.la' > > It looks to me as though libiconv2 should be supplying libiconv.la > as the gettext libintl.la has these lines - > > # Libraries that this one depends upon. > dependency_libs=' -L/usr/lib /usr/lib/libiconv.la' > > In fact I wonder whether or not gettext should require libiconv > instead of/as well as libiconv2. You must be missing 'libiconv' then: -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple