delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/09/05:07:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 9 Mar 2010 11:06:39 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems installing Text-Iconv-1.7 (perl module)
Message-ID: <20100309100639.GG6505@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <27833019 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <27833019.post@talk.nabble.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 Mar  9 01:03, Marc Girod wrote:
> 
> As part of Net::LDAP, I try to install Text-Iconv-1.7, and it fails.
> I installed libiconv (I already had libiconv2), but 'perl Makefile.PL' has a
> comiple test which fails.
> I reproduced on the command line, removing the redirections to /dev/null:
> 
> Text-Iconv-1.7> gcc -I/usr/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
> -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608
> -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib -L/usr/lib
> -o linktest linktest.c -L/usr/lib
> cc1: error: unrecognized command line option "-fstack-protector"
> cc1: error: unrecognized command line option "-fstack-protector"
> Text-Iconv-1.7> gcc -I/usr/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
> -fno-strict-aliasing -pipe -I/usr/local/include  -Wl,--enable-auto-import
> -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base
> -L/usr/local/lib -L/usr/lib -o linktest linktest.c -L/usr/lib
> /cygdrive/c/Users/emagiro/AppData/Local/Temp/ccqJIK6Z.o:linktest.c:(.text+0x3a):
> undefined reference to `_libiconv_open'
> collect2: ld returned 1 exit status
> Text-Iconv-1.7> strings /usr/lib/libiconv.a | grep libiconv_open
> _libiconv_open
> _libiconv_open_into
> _libiconv_open
> _libiconv_open_into
> 
> ???

There's no -liconv.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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