This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: please update libXML


./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@nyckelpiga.de]
Sent: 18. juni 2002 10:36
To: Peter Ring
Cc: cygwin-apps@cygwin.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
--
=^..^=



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]