Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found