delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/27/15:41:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-50.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BX,TW_IB,TW_YG
X-Spam-Check-By: sourceware.org
Subject: Re: ld didn't find self compiled libxml
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
To: cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <20100727164212.97850@gmx.net>
References: <20100727164212 DOT 97850 AT gmx DOT net>
Date: Tue, 27 Jul 2010 14:41:37 -0500
Message-ID: <1280259697.4808.363.camel@YAAKOV04>
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--=-DXNNwTM16f6XmFtCw9fE
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

http://cygwin.com/acronyms/#PCYMTWLL !

On Tue, 2010-07-27 at 18:42 +0200,
cygwin DOT 20 DOT maillinglist AT spamgourmet DOT com wrote:
> I'm not an expert on compiling things for cygwin. Normally configure, make, 
> make install work fine. But not now.
> 
> I tried to compile a program which needs libxml support.

libxml-1.x is ancient, from the GNOME 1.x days; you shouldn't be using
it for *anything*.

> I compiled and installed the libxml myself. While running configure everything is ok.
>  The libxml is found. But when I try to build the program
> I get the following error.

That means your libxml is not where gcc expects it.  If you configured
libxml without arguments, then it will be in /usr/local/lib, and you
would need to add -L/usr/local/lib to the link command.

But again: you should NOT use libxml-1.  Distros which ship this xml2
program use a patch to port it to use the current libxml2, which is
already in the distro.  Install cygport and libxml2-devel (and their
dependencies) with setup.exe and use the attached .cygport to build
xml2.


Yaakov


--=-DXNNwTM16f6XmFtCw9fE
Content-Disposition: attachment; filename="xml2-0.4-1.cygport"
Content-Type: text/plain; name="xml2-0.4-1.cygport"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

DESCRIPTION="Converts XML/HTML to and from line-oriented text"
HOMEPAGE="http://dan.egnor.name/xml2/"
SRC_URI="http://download.ofb.net/gale/${P}.tar.gz"
PATCH_URI="
	http://patch-tracker.debian.org/patch/series/dl/xml2/0.4-3/01_use_libxml2_instead_of_libxml.diff
	http://patch-tracker.debian.org/patch/series/dl/xml2/0.4-3/02_fix_segfault.diff
"


--=-DXNNwTM16f6XmFtCw9fE
Content-Type: text/plain; charset=us-ascii

--
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
--=-DXNNwTM16f6XmFtCw9fE--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019