I'm running Strawberry Perl 5.32.0 on an Windows 10 machine and trying to install the DBD::Sybase module. Sybase ASE 16 libraries and headers are installed and working fine with other projects.

I receive the following error messages from cpan:

Warning (mostly harmless): No library found for -llibct.lib Warning (mostly harmless): No library found for -llibcs.lib ...

Since about Sybase 16 the libraries are named libsybct.lib, libsybcs.lib, ...

I also receive a lot of linking error messages from cpan like:

dbdimp.o:dbdimp.c:(.text+0x10b4): undefined reference to `ct_config'
Therefore, the warnings above are most likely not harmless at all.

I had the same problems installing DBD::Sybase on an older Windows 7 machine 2 years ago after upgrading Sybase to version 16, but no problems with earlier Sybase versions.

Makefile.PL fails detecting the Sybase version in getLibVersion and tries the wrong libraries therefore. I changed the content of getLibVersion to return 16;, which is the correct version. After perl Makefile.PL and gmake I get Makefile:992: *** target file 'Makefile' has both : and :: entries. Stop. At line 992 there is $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP).

How can I solve this problem?


In reply to Installation of DBD::Sybase with Strawberry Perl by Anonymous Monk

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.