This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problems installing Text-Iconv-1.7 (perl module)
Reini Urban wrote:
>
> you need gcc-4
>
Thanks, to both of you (Corina and Reini).
Do I understand right that perl was built with gcc 4 and -fstack-protect?
So, shouldn't gcc 4 be the default?
OK... It has been beaten to death and I just didn't notice or look for it...
Text-Iconv-1.7> gcc -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 -liconv -o
linktest linktest.c
/cygdrive/c/Users/emagiro/AppData/Local/Temp/ccwhhRl0.o:linktest.c:(.text+0x26):
undefined reference to `_libiconv_open'
collect2: ld returned 1 exit status
Text-Iconv-1.7> gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
For -liconv, I added it now, but it doesn't affect.
Please note that this package installs fine on Solaris (without -liconv,
which I agree, looks like a miracle).
I would guess that somewhere it looks for a shared library, and doesn't find
the dll as one...
Marc
--
View this message in context: http://old.nabble.com/Problems-installing-Text-Iconv-1.7-%28perl-module%29-tp27833019p27841003.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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