in reply to Re^2: sybase librairie on windows
in thread sybase librairie on windows

I probably missed something again ...

http://cpansearch.perl.org/src/MEWP/DBD-Sybase-1.10/README

Replies are listed 'Best First'.
Re^4: sybase librairie on windows
by fjolievt (Initiate) on Oct 13, 2010 at 08:05 UTC
    Hi, I had the same worries with FreeTDS 0.83, DBI 1.6 and Perl 5.10. To solve this problem, after making "Perl makefile.pl" for package DBD:Sybase 1.10, I edit the "makefile" file and add at the end of EXTRALIBS and LDLOADLIBS lines the <FreeTDS path>\lib\libct.dll.a library. Then i made the "dmake" command and "dmake install". This worked for me. Excuse me for my English.
Re^4: sybase librairie on windows
by sbouli (Initiate) on Jul 21, 2010 at 10:03 UTC
    Thanks,
    but I did read this, and I think I setup correctly the environment variables and config ...

    dbdimp.o:dbdimp.c:(.text+0xd1e): undefined reference to `ct_data_info'

    except if this should be in a library of windows ...
    Stephane
      Thanks, but I did read this, and I think I setup correctly the environment variables and config ...

      Then why do you get:

      ...
      Unknown Client Library version - assuming FreeTDS.
      ...
      Note (probably harmless): No library found for -llibct.lib
      Note (probably harmless): No library found for -llibcs.lib
      Note (probably harmless): No library found for -llibtcl.lib
      Note (probably harmless): No library found for -llibcomn.lib
      Note (probably harmless): No library found for -llibintl.lib
      Note (probably harmless): No library found for -llibblk.lib

        I would agree but as I checked a dozen time, I start to doubt on this ...
        I looked inside the Makefile.PL and I think that it write Unknown Client Library version - assuming FreeTDS because it doesn't find "Sybase Client-Library" in the file : C:\Sybase\OCS-15_0\lib\libsybct.lib
        open(IN, $file) || die "Can't open $file: $!"; binmode(IN); my $version; while(<IN>) { print "$_\n"; if(/Sybase Client-Library\/([^\/]+)\//) { $version = $1; last; } } close(IN);

        but this file exist and if I open it I cannot find this sentence myself ... and it's coming from the installation of sybase ...

        I am wondering if a new version of sybase would not be non compatible with the makefile.PL of DBD-Sybase-1.10 ...
        Thanks for your help

        Stéphane