in reply to Re^2: Installation of DBD::Sybase with Strawberry Perl
in thread Installation of DBD::Sybase with Strawberry Perl

Whatever you did, it messed up the command line that g++ is invoked with:

g++ Sybase.def -o blib\arch\auto\DBD\Sybase\Sybase.xs.dll -mdll -s -L" +C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"-L"c:\SAP\OCS-16_0\dl +l\" Sybase.o ...

Note how these escaped bckslashes and missing spaces in your addition are unlike the other -L stanzas.

A first step would be to make these identical to the other -L stanzas and add proper whitespace:

g++ Sybase.def -o blib\arch\auto\DBD\Sybase\Sybase.xs.dll -mdll -s -L" +C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -L "c:\SAP\OCS-16_0\ +dll" Sybase.o

Also, there should be a way to pass the proper parameters to Makefile.PL from the command line instead of patching Makefile.PL.

Replies are listed 'Best First'.
Re^4: Installation of DBD::Sybase with Strawberry Perl
by Anonymous Monk on Mar 09, 2021 at 11:20 UTC
    Thanks. I fixed this. It still doesn't solve the problem (please see below).