Date: Thu, 27 Oct 2005 04:00:55 -0700 (PDT) From: Rob <spamrefuse@yahoo.com> To: Igor Robul <igorr@speechpro.com>, freebsd-questions@freebsd.org Subject: Re: math/grace port: "libXcursor.so.1.0" not found ?? [FBSD/Xorg error?] Message-ID: <20051027110055.93538.qmail@web36212.mail.mud.yahoo.com> In-Reply-To: <43608D9F.9020207@speechpro.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Igor Robul <igorr@speechpro.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027110055.93538.qmail>