delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/06/18/07:02:28

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
From: "Peter Ring" <pri AT ddf DOT dk>
To: <cygwin-apps AT cygwin DOT com>
Subject: RE: please update libXML
Date: Tue, 18 Jun 2002 13:00:57 +0200
Message-ID: <LLEGJLFMJCCMMIIJBIKDOENGCMAA.pri@ddf.dk>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
In-Reply-To: <2954798237.20020618103543@familiehaase.de>

./configure --with-history   # or ./configure --with-history --with-python
make
...
make[3]: Entering directory `/usr/local/src/libxml2-2.4.22/python'
...
/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall   -o libxml2mod.la -rpath
/usr/local/lib/python2.2/site-packages -module -avoid-version -no-undefined 
-L../.libs libxml.lo types.lo libxml2-py.lo ../libxml2.la -lpython2.2
gcc -shared  .libs/libxml.o .libs/types.o
libs/libxml2-py.o  -L/usr/local/lib -L/usr/local/src/libxml2-2.4.22/.libs
../.libs/libxml2.dll.a -lpython2.2  -o
.libs/cygxml2mod.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libx
ml2mod.dll.a
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lpython2.2

There are (per setup-installed python2.2)

  /usr/bin/libpython2.2.dll
  /usr/lib/python2.2/config/libpython2.2.dll.a

Perhaps you have rebuild python, or just added a libpython2.2.dll.la
somewhere?

Kind regards

Peter Ring


-----Original Message-----
From: Gerrit P. Haase [mailto:freeweb AT nyckelpiga DOT de]
Sent: 18. juni 2002 10:36
To: Peter Ring
Cc: cygwin-apps AT cygwin DOT com
Subject: Re: please update libXML


Peter schrieb:

> I'm happy again :) make check running successfully as I write this. Thanks
> for you help.

[..libtool-talk..]

> Now if only I could also link with python ...

Hmm, I added -lpython2.2 to the linkline for the module and I thought it
worked (at least for libxml2, I'm not sure about libxslt), this is also
in my patch included.


Gerrit
--
=^..^=


- Raw text -


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