X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: Cannot install - xmlcatalog cannot find libxml2
Date: Tue, 10 Jan 2006 16:57:24 -0000
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <SERRANOgcOrBLSAQV6u00000032@SERRANO.CAM.ARTIMI.COM>
Message-ID: <SERRANOiSnRMWuLn5U900000033@SERRANO.CAM.ARTIMI.COM>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dave Korn wrote:
> Marcus Williams wrote:
>> On 10/01/2006 Dave Korn wrote:
>>>   You need libxml2-devel for that file (enter 'libxml2.dll' at
>>> http://cygwin.com/packages).  It should have been automatically selected
>>> when you selected libxml2, but there may be a missing dependency.
>> 
>> Nope - still got the same problem. I tried installing everything this
>> time (setting All to "All @ Install")
>> 
> 
>   Whoops!  You're right, what I saw in there was only the export library
> libxml2.dll.a.
> 
>   This must be a real packaging error.  Looks like the maintainer might
> have compiled libxml2-devel with "--disable-shared" and then compiled
> xmlcatalog with "--enable-shared".
> 
>   Your quickest workround would probably be either rebuilding xmlcatalog
> from source, giving it the "--disable-shared" option at configure time so
> it builds and links against the static libxml2.a, or to rebuild the
> libxml2-devel package from source (default options this time) so as to
> generate your own copy of libxml2.dll.
> 

  Nope, that's not it.  I think I /have/ traced it now: it's a packaging error
in libxml2 package itself.  It contains the dll, but the maintainer forgot to
package it with the correct prefix.  You might be able to fix the problem by a
rename:

mv /bin/cygxml2-2.dll /bin/libxml2.dll


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

