delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.5 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_FREE_WEBM_RuMail,SPF_SOFTFAIL,TW_BP,TW_BX,TW_IB,TW_LB,TW_LG,TW_LX,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4D9A445C.7080804@mail.ru> |
Date: | Tue, 05 Apr 2011 00:21:16 +0200 |
From: | Dmitry Katsubo <dma_k AT mail DOT ru> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.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: | Linking statically against GraphicsMagick: problems with libxml2 and libpng |
X-Online-Scanned: | by Cloudmark authority (on smtp09.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 CygWin users / developers! While trying to link statically my application against GraphicsMagick under CygWin, but I suffer from few minor problems during linking. To discover the library list, needed for static linking, I use "GraphicsMagick++-config --libs": > configure:7259: g++ -o conftest.exe -g -O2 -I/usr/include/GraphicsMagick -L/usr/lib -static-libgcc -Wl,-static conftest.cpp -lGraphicsMagick -lGraphicsMagick++ -lGraphicsMagick++ -lGraphicsMagick -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lgdi32 -lm -lpthread -lltdl -lm >&5 > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lxml2 > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpng * The package libxml2-devel is installed, but in my opinion is missing the libxml2.a file: $ ll /lib/libxml* 1122076 May 12 2010 /lib/libxml2.dll.a 927 May 12 2010 /lib/libxml2.la * The package libpng12-devel is installed, but there is no symlink libpng.a -> libpng12.a. So I think GraphicsMagick should be linked either against libpng12 or libpng14: $ ll /lib/libpng* 294592 Aug 8 2010 /lib/libpng12.a 217944 Aug 8 2010 /lib/libpng12.dll.a Does it sound reasonable? If yes, what is the best way to report these two bugs? Additional info: libxml2-devel 2.7.7-1 libpng12-devel 1.2.44-1 libGraphicsMagick-devel 1.3.12-2 gcc4-g++ 4.3.4-4 -- 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 |