Hi, I am getting the following errors while installing the DBD::Sybase module using cpan/manual. Before installing it,

I installed the following: 1. freetds (latest version) 2. DBI module

Environment: Cygwin

Now when I am installing the DBD::Sybase, I am getting the following error message.

Skip blib/lib/DBD/dbd-sybase.pod (unchanged) Skip blib/lib/DBD/Sybase.pm (unchanged) gcc -c -I/usr/local/include -D_MSC_VER=800 -I/usr/lib/perl5/site_perl +/5.10/i686 -cygwin/auto/DBI -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict- +aliasing - pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVER +SION=\"1.0 9\" -DXS_VERSION=\"1.09\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" +Sybase.c gcc -c -I/usr/local/include -D_MSC_VER=800 -I/usr/lib/perl5/site_perl +/5.10/i686 -cygwin/auto/DBI -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict- +aliasing - pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVER +SION=\"1.0 9\" -DXS_VERSION=\"1.09\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" +dbdimp.c rm -f blib/arch/auto/DBD/Sybase/Sybase.dll g++ -L/usr/local/lib --shared -Wl,--enable-auto-import -Wl,--export +-all-symbo ls -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib - +fstack-pro tector Sybase.o dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.dll + \ /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll -L/ -L/ +usr/local/ lib -lct \ /usr/local/lib/libct.a(iconv.o): In function `tds_get_iconv_name': /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:216: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:225: undefined + reference to `_libiconv_close' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:222: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:234: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:241: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:244: undefined + reference to `_libiconv_close' /usr/local/lib/libct.a(iconv.o): In function `_iconv_close': /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:529: undefined + reference to `_libiconv_close' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:529: undefined + reference to `_libiconv_close' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:529: undefined + reference to `_libiconv_close' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:529: undefined + reference to `_libiconv_close' /usr/local/lib/libct.a(iconv.o): In function `tds_iconv_info_init': /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:482: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:487: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:497: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:498: undefined + reference to `_libiconv_open' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:499: undefined + reference to `_libiconv_open' /usr/local/lib/libct.a(iconv.o):/cygdrive/c/freetds-0.82.1.dev.2009122 +3/src/tds/ iconv.c:500: more undefined references to `_libiconv_open' follow /usr/local/lib/libct.a(iconv.o): In function `tds_iconv_fread': /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:899: undefined + reference to `_libiconv' /usr/local/lib/libct.a(iconv.o): In function `tds_iconv': /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:732: undefined + reference to `_libiconv' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:677: undefined + reference to `_libiconv' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:685: undefined + reference to `_libiconv' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:739: undefined + reference to `_libiconv' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:841: undefined + reference to `_libiconv_close' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:786: undefined + reference to `_libiconv' /cygdrive/c/freetds-0.82.1.dev.20091223/src/tds/iconv.c:776: undefined + reference to `_libiconv_open'
Any help will be highly appreciated. Regards -Ravi

In reply to DBD::Sybase cygwin installation failure by ravipg2004

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.