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

