http://www.perlmonks.org?node_id=837804


in reply to Can't locate loadable object for module DBD::Sybase

It looks like the install did actually fail -it's a build directorie, not an install directory.

Try to go to that directory, run

perl Makefile.PL make test

and see if there are any errors. If not, continue with make install.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Can't locate loadable object for module DBD::Sybase
by jedikaiti (Hermit) on Apr 30, 2010 at 16:23 UTC

    So I tried, and here's what happens:
    perl Makefile.pl generates the following notes:

    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 -llibtc1.lib Note (probably harmless): No library found for -llibcomn.lib Note (probably harmless): No library found for llibint1.lib Note (probably harmless): No library found for -llivblk.lib Using DBI 1.611 (for perl 5.01001 on MSWin32-x86-multi-thread) install +ed in C:/strawberry/perl/site/lib/auto/DBI/ Writing Makefile for DBD::Sybase

    dmake test returns a lot of lines like:
    dbdimp.o:dbdimp.c:(.text+0xea1e): undefined reference to 'ct_dynamic'
    only the hex after ".text" and what the undefined reference is to change on each line.

    That is followed by:

    collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\DBD\Sybase\Sybase. +dll'

    I went ahead and tried reinstalling via CPAN, and got the same results. (Wanted to make sure I hadn't inadvertently ham-fisted something that goofed it up.)

    Crapadoodle. Where do I go from here?

    Thanks!

    Kaiti
    Swiss Army Nerd
      Note (probably harmless): No library found for -llibct.lib

      Assume these warnings are not harmless, and install the libraries it's looking for.

      Perl 6 - links to (nearly) everything that is Perl 6.
Re^2: Can't locate loadable object for module DBD::Sybase
by jedikaiti (Hermit) on Apr 30, 2010 at 15:58 UTC
    Well, darn it! Will do - thanks!
    Kaiti
    Swiss Army Nerd