From owner-freebsd-questions@FreeBSD.ORG Thu Oct 27 18:24:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0818516A41F for ; Thu, 27 Oct 2005 18:24:44 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B870943D48 for ; Thu, 27 Oct 2005 18:24:43 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7C3001A3C2B; Thu, 27 Oct 2005 11:24:43 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6AA3B5129C; Thu, 27 Oct 2005 14:24:42 -0400 (EDT) Date: Thu, 27 Oct 2005 14:24:42 -0400 From: Kris Kennaway To: Rob Message-ID: <20051027182442.GA98037@xor.obsecurity.org> References: <43608D9F.9020207@speechpro.com> <20051027110055.93538.qmail@web36212.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <20051027110055.93538.qmail@web36212.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: Igor Robul , freebsd-questions@freebsd.org Subject: Re: math/grace port: "libXcursor.so.1.0" not found ?? [FBSD/Xorg error?] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 18:24:44 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2005 at 04:00:55AM -0700, Rob wrote: > Here is the two points response from the grace > mailinglist: >=20 >=20 > 1. Because XOpenDisplay() causes dlerror() to be > set: > One of the FreeBSD X libraries is broken, > calling an inexisting libXcursor.so.1.0. >=20 > 2. The FreeBSD dynamic loader is broken, ignoring > unresolved references in DLLs both at > initialization and run time. >=20 >=20 > So is the libX11.so.6 on FreeBSD (or another) to be > blamed? Talk to the xorg maintainers (x11@FreeBSD.org). I suspect there are two problems: the libXcursor.so.1.0.2 reference in the x library, which should not be there, and a bug in xmgrace for not correctly handling dlerror(), as Igor has been explaining. xmgrace should be robust enough to handle the case of some other application having failed to dlopen() something, instead of assuming it has perfect knowledge of the program state. Kris --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYRtqWry0BWjoQKURAlMSAKDU+nIvI+d7SAkm7jgKnw34Lp4zsACg03j4 IqwdsGdCaCKUFOvs7PyRVQg= =dOw/ -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--