Re: math/grace port: libXcursor.so.1.0 not found ?? [FBSD/Xorg error?]

2005-10-27 Thread Rob


--- Igor Robul [EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ?? [FBSD/Xorg error?]

2005-10-27 Thread Kris Kennaway
On Thu, Oct 27, 2005 at 04:00:55AM -0700, Rob wrote:

 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?

Talk to the xorg maintainers ([EMAIL PROTECTED]).  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


pgpGUjiJQWuO3.pgp
Description: PGP signature