X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B895D12.4050403@gmail.com> Date: Sat, 27 Feb 2010 17:57:38 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: xerces-c-3.0.1 linking problem References: <115d61a61002270855w5f2403pf7c3c1bb759c6979 AT mail DOT gmail DOT com> <4B89505C DOT 9020409 AT cwilson DOT fastmail DOT fm> In-Reply-To: <4B89505C.9020409@cwilson.fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 27/02/2010 17:03, Charles Wilson wrote: > Johan De Taeye wrote: > >> Note the version of libstdc++ the above is trying to find: 4.3.2 >> The current version in cywgin is 4.3.4. >> >> It looks to me that the libxerces-c-3.0.1 libraries were created with >> an older version of the compiler and are not up to date any more. >> Is this a bug? Or am I missing something? > > Nope, you're correct. C++ libraries must all be compiled with compatible > versions of the same compiler. Now, it's possible that 4.3.2 and 4.3.4 > are compatible, It is guaranteed. > but the libtool .la file records the EXACT version number. > > One possible work around -- which may work, but might not -- is to > simply delete the xerces .la files and try to build your app again. There's a helper script in the gcc4 package to update all the installed .la files it can find in /usr/lib: take a look at /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh Try giving it a go. (NB: may be missing 'x' perms on your system owing to packaging bug in 4.3.4-3; chmod or source it as you prefer.) cheers, DaveK -- 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