Re: DBD::DB2 on strawberry perl

[email protected] (kmx)
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
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_api@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.