Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3D0F1340.4000606@netscape.net> Date: Tue, 18 Jun 2002 07:02:24 -0400 From: Nicholas Wourms User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Ring CC: cygwin-apps AT cygwin DOT com Subject: Re: please update libXML References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Peter, The line should be -L/usr/lib -lpython2.2 Cheers, Nicholas Peter Ring wrote: >./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 >-- >=^..^= > > > -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop AT Netscape! http://shopnow.netscape.com/