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:
Therefore, the warnings above are most likely not harmless at all.dbdimp.o:dbdimp.c:(.text+0x10b4): undefined reference to `ct_config'
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |