ERIC HO schrieb:
The attached script file was provided to me by T.Allsopp and it works.
> His email to cygwin somehow never delivered.
Of course shell script attachments can easily be deleted.
Please send that to Praveen upstream so that more users can benefit from
that. http://search.cpan.org/dist/DBD-DB2/
The bugtracker is at
https://rt.cpan.org/Public/Dist/Display.html?Name=DBD-DB2
He needs only the 5.10 part to strip -Wl,--export-all-symbols
--- Makefile.PL.orig 2008-07-01 14:35:53.356596500 +1200
+++ Makefile.PL 2008-07-01 14:39:09.480356700 +1200
@@ -134,8 +134,14 @@
}
}
}
-
- $sysliblist = "-L$DB2LIB -ldb2";
+
+ if ($os eq 'cygwin') {
+ $sysliblist = "-L$DB2LIB -ldb2cli -ldb2api";
+ $opts{LDDLFLAGS} = $Config{lddlflags};
+ $opts{LDDLFLAGS} =~ s/-Wl,--export-all-symbols //;
+ } else {
+ $sysliblist = "-L$DB2LIB -ldb2";
+ }
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple