X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4BCA23E1.8000309@x-ray.at> Date: Sat, 17 Apr 2010 23:10:57 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: DBD-DB2-1.78 driver for Perl V5.10 under CYGWIN 1.7.4 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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