From owner-freebsd-stable@FreeBSD.ORG Wed Oct 26 03:41:34 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A711416A420 for ; Wed, 26 Oct 2005 03:41:34 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36215.mail.mud.yahoo.com (web36215.mail.mud.yahoo.com [209.191.68.241]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BD2D43D48 for ; Wed, 26 Oct 2005 03:41:33 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 47943 invoked by uid 60001); 26 Oct 2005 03:41:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nUgwh53nf7S2Rr1ymXxHPpq4EGNtQmcc+rfOO56+GEZmLEw7Oytm0Cnf+izips3p71H4BK4vbbbEOIAvdnYGfbX0wuJ5ji7413zIXa7ZkBVOkBtoV+KWKBU0HtZOoWwqe2LKOoBdB/e2DLSfbDAAVLSEMdWV5ns9GrrJY9GotH8= ; Message-ID: <20051026034133.47941.qmail@web36215.mail.mud.yahoo.com> Received: from [147.46.44.181] by web36215.mail.mud.yahoo.com via HTTP; Tue, 25 Oct 2005 20:41:33 PDT Date: Tue, 25 Oct 2005 20:41:33 -0700 (PDT) From: Rob To: FreeBSD questions , FreeBSD Stable MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: math/grace port: "libXcursor.so.1.0" not found ?? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 03:41:34 -0000 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