From owner-freebsd-questions@FreeBSD.ORG Thu Oct 27 11:00:56 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 6C41216A41F for ; Thu, 27 Oct 2005 11:00:56 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36212.mail.mud.yahoo.com (web36212.mail.mud.yahoo.com [209.191.68.238]) by mx1.FreeBSD.org (Postfix) with SMTP id 09E5243D45 for ; Thu, 27 Oct 2005 11:00:55 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 93540 invoked by uid 60001); 27 Oct 2005 11:00:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=olChpyEglQ2+afpDolKEqRPlZ2yKs7dwKgTMA5goxWlwT+dzwJ8smyWt0yan46WFwcu+EDsA730zREfcM3Yf+AY7B7Ivc7kDu+J9p8JTMdUc9SCUsDticORBv3dXQxUxLn91IlK5iTNBU1Sq0bX78zuA3wOSCSS2JwAtj78D2nk= ; Message-ID: <20051027110055.93538.qmail@web36212.mail.mud.yahoo.com> Received: from [147.46.44.181] by web36212.mail.mud.yahoo.com via HTTP; Thu, 27 Oct 2005 04:00:55 PDT Date: Thu, 27 Oct 2005 04:00:55 -0700 (PDT) From: Rob To: Igor Robul , freebsd-questions@freebsd.org In-Reply-To: <43608D9F.9020207@speechpro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: 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 11:00:56 -0000 --- Igor Robul wrote: > Rob wrote: > > >----------------------------------- > > XtAppContext app_con; > > Display *disp = NULL; > > char *display_name = NULL; > > > > XtSetLanguageProc(NULL, NULL, NULL); > > XtToolkitInitialize(); > > app_con = XtCreateApplicationContext(); > > > > disp = XOpenDisplay(display_name); > >----------------------------------- > > > >(I have simplified this code snippet a bit, for > >this example; also, grace uses Motif for its GUI). > > > >Before the XOpenDisplay() call, dlerror() does > >not have the error-indicator set, but after > >that call, it has. > > > >Is this where Linux and FreeBSD are out-of-sync? > >Or does Grace something wrong here, or is this > >a problem cause by FreeBSD or Xorg? > > I think, that when XOpenDisplay called, ld.so tries > load some libraries > from preconfigured paths, and > last unsuccessful attempt is recorded for dlerror(). Here is the two points response from the grace mailinglist: 1. Because XOpenDisplay() causes dlerror() to be set: One of the FreeBSD X libraries is broken, calling an inexisting libXcursor.so.1.0. 2. The FreeBSD dynamic loader is broken, ignoring unresolved references in DLLs both at initialization and run time. So is the libX11.so.6 on FreeBSD (or another) to be blamed? Or is something more fundamentally wrong with FreeBSD? Rob. __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com