Dne 12.3.2010 15:29, Kartik Thakore napsal(a):
> Hi Folks,
>
> I cannot get DBD::DB2 to compile on strawberry perl. I have read the
> CAVEATS file and set the required parameters to point to the DB2 client 
> libraries. However it seems the client libraries are compile for MSVC and
> not gcc because I get the following undefined errors:
>
> dbdimp.o:dbdimp.c:(.text+0x3dd): undefined reference to `sqledosd_...@16' 
>
> ....
>
> I did ask for help on the DBI-help mailing list a while back with no luck.
>
> What can I do to get this working?
>
> regards,
> kthakore
>   

Hi Kartik,

try this patched version:
http://strawberryperl.com/package/kmx/perl-modules-patched/DBD-DB2-1.78_patched.tar.gz

simply:
c:\> set DB2_HOME=....where-you-have-DB2-client-installed...
c:\> pip
http://strawberryperl.com/package/kmx/perl-modules-patched/DBD-DB2-1.78_patched.tar.gz

If it does work for you feel free to submit this simple patch to
DBD::DB2 authors:
http://strawberryperl.com/package/kmx/perl-modules-patched/DBD-DB2-1.78_gcc.patch

--
kmx

Reply via email to