GNU logs - #12319, boring messages

Message sent to bug-libtool@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#12319: libltdl does not skip bad libs
Resent-From: Pierre Ossman <ossman@HIDDEN>
Original-Sender: debbugs-submit-bounces <at>
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Fri, 31 Aug 2012 16:26:03 +0000
Resent-Message-ID: <handler.12319.B.134643032820659 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 12319
X-GNU-PR-Package: libtool
To: 12319 <at>
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> id=B.134643032820659
          (code B ref -1); Fri, 31 Aug 2012 16:26:03 +0000
Received: (at submit) by; 31 Aug 2012 16:25:28 +0000
Received: from localhost ([]:59725
	by with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1T7U2B-0005N9-GM
	for submit <at>; Fri, 31 Aug 2012 12:25:27 -0400
Received: from ([]:52758)
	by with esmtp (Exim 4.72)
	(envelope-from <ossman@HIDDEN>) id 1T7PSf-0007FI-JL
	for submit <at>; Fri, 31 Aug 2012 07:32:31 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
	(envelope-from <ossman@HIDDEN>) id 1T7PRO-0004Tb-J0
	for submit <at>; Fri, 31 Aug 2012 07:31:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
	autolearn=unavailable version=3.3.2
Received: from ([]:51530)
	by with esmtp (Exim 4.71)
	(envelope-from <ossman@HIDDEN>) id 1T7PRO-0004TX-Fj
	for submit <at>; Fri, 31 Aug 2012 07:31:10 -0400
Received: from ([]:34706)
	by with esmtp (Exim 4.71)
	(envelope-from <ossman@HIDDEN>) id 1T7PRI-0001xa-BK
	for bug-libtool@HIDDEN; Fri, 31 Aug 2012 07:31:10 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
	(envelope-from <ossman@HIDDEN>) id 1T7PR8-0004Lk-Mt
	for bug-libtool@HIDDEN; Fri, 31 Aug 2012 07:31:04 -0400
Received: from ([]:52291 by with esmtp (Exim 4.71)
	(envelope-from <ossman@HIDDEN>) id 1T7PR8-0004LS-Fx
	for bug-libtool@HIDDEN; Fri, 31 Aug 2012 07:30:54 -0400
Received: from (
	(AUTH: PLAIN smtpproxy, TLS: TLSv1/SSLv3,256bits,AES256-SHA)
	by with esmtp; Fri, 31 Aug 2012 13:30:51 +0200
	id 0039E022.5040A06B.000019DF
Received: from ([2001:16d8:ff07:2:21d:e0ff:fe88:be11])
	(AUTH: LOGIN drzeus, TLS: TLS1.1,128bits,RSA_AES_128_CBC_SHA1)
	by with ESMTPSA; Fri, 31 Aug 2012 13:30:50 +0200
	id 00000000000000B8.000000005040A06A.00001799
Date: Fri, 31 Aug 2012 13:30:46 +0200
From: Pierre Ossman <ossman@HIDDEN>
Message-ID: <20120831133046.67b8464f@HIDDEN>
Organization: Cendio AB
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA256;
X-detected-operating-system: by GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by GNU/Linux 2.6 (newer, 3)
X-Spam-Score: -6.9 (------)
X-Mailman-Approved-At: Fri, 31 Aug 2012 12:25:25 -0400
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <>
List-Unsubscribe: <>,
	<mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>,
	<mailto:debbugs-submit-request <at>>
Sender: debbugs-submit-bounces <at>
Errors-To: debbugs-submit-bounces <at>
X-Spam-Score: -6.9 (------)

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I've unfortunately stumbled upon a key difference in behaviour between
dlopen() and lt_dlopen(). When dlopen() encounters a bad library (e.g.
wrong arch), it will just continue on and find another library.
lt_dlopen() however, will stop on the first library which it can read.

This breaks libltdl applications horribly in multi-arch environments.
As LD_LIBRARY_PATH is not arch specific, having a universal one means
having one like:


This works fine with dlopen(), but not with lt_dlopen().

The fix seems simple enough. In find_handle_callback(), change:

	*phandle =3D 0;


	return 0;

Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web:
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=signature.asc

Version: GnuPG v2.0.18 (GNU/Linux)


Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Pierre Ossman <ossman@HIDDEN>
Subject: bug#12319: Acknowledgement (libltdl does not skip bad libs)
Message-ID: <handler.12319.B.134643032820659.ack <at>>
References: <20120831133046.67b8464f@HIDDEN>
X-Gnu-PR-Message: ack 12319
X-Gnu-PR-Package: libtool
Reply-To: 12319 <at>
Date: Fri, 31 Aug 2012 16:26:03 +0000

Thank you for filing a new bug report with

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):

If you wish to submit further information on this problem, please
send it to 12319 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.