math/grace port: "libXcursor.so.1.0" not found ??
Rob
spamrefuse at yahoo.com
Tue Oct 25 20:41:34 PDT 2005
Hi,
I'm running FreeBSD 5-Stable.
I only seem to encounter this problem with the
math/graphical port 'grace', and the dlopen()
call inthere.
It seems to be a FreeBSD specific problem and
I wonder if other people on this list encounter
the same problem.
This is the problem:
1. Install Grace from ports (math/grace)
2. Create $HOME/.grace/gracerc.user and put
one line in this file:
USE "pow" TYPE f_of_dd FROM "/usr/lib/libm.so"
(this is the example from the Grace UsersGuide)
3. Start grace like this:
$ xmgrace
Shared object "libXcursor.so.1.0" not found,
required by "xmgrace"
DL module load failed: USE "pow" TYPE F_OF_DD
FROM "/usr/lib/libm.so"
Error at line 1
Because if this library problem, Grace cannot
load "pow" from "/usr/lib/libm.so". However,
apart from that, grace starts normally.
The syntax in file "gracerc.user" is correct; I
have verified this with the Grace mailinglist.
The line "Shared object...not found" is the error
message-string set by the dlopen() call in Grace:
handle =
(void *)dlopen("/usr/lib/libm.so", RTLD_LAZY)
When I do a 'locate libXcursor.so.1.0', I get:
/usr/compat/linux/usr/X11R6/lib/libXcursor.so.1.0.2
Why is dlopen() failing on "libXcursor.so.1.0" ?
A possible hint could be that "libXcursor.so.1.0.2"
appears when 'strings /usr/X11R6/lib/libX11.so.6'.
Why is it in libX11.so.6 ??
Thanks for help or clues!
Rob.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the freebsd-stable
mailing list