| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_FREE_WEBM_RuMail,SPF_SOFTFAIL,TW_BP,TW_BX,TW_IB,TW_YG,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4D9AD222.9010505@mail.ru> |
| Date: | Tue, 05 Apr 2011 10:26:10 +0200 |
| From: | Dmitry Katsubo <dma_k AT mail DOT ru> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Linking statically against GraphicsMagick: problems with libxml2 and libpng |
| References: | <4D9A445C DOT 7080804 AT mail DOT ru> <BANLkTikMJcPtXrLH3hMTsgk-2TykvJiczQ AT mail DOT gmail DOT com> |
| In-Reply-To: | <BANLkTikMJcPtXrLH3hMTsgk-2TykvJiczQ@mail.gmail.com> |
| X-Online-Scanned: | by Cloudmark authority (on smtp10.online.nl) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dear Marco, Thanks for reply. On 05.04.2011 0:46, marco atzeri wrote: >> While trying to link statically my application against GraphicsMagick > > why not dynamic ? I am happy to link dynamically, but I got the requirements to provide both static and dynamic version. > it seems that libxml2-devel package is missing the static option. Maybe I can submit "request for improvement" for libxml2? It looks like *.a was simply not included into package, so I hope it is trivial to fix it. > GraphicsMagick is linked versus libpng14 > > $ cygcheck cygGraphicsMagick-3.dll |grep png > E:\cygwin2\bin\cygpng14-14.dll Yes, it is possible to explore the library this way, but I think "GraphicsMagick++-config --libs" should report, which library was used to produce libGraphicsMagick.a. I can't use "-lpng", and I can't any other alternative like "-lpng12" or "-lpng14", because I may end up with missed symbols in libGraphicsMagick.a. > $ cygcheck -l libpng14-devel |grep png\.a > /usr/lib/libpng.a In this case everything looks good :) > one is a missing functionality and there other is not a bug ;-) I agree. -- With best regards, Dmitry -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |