Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2007 11:41:18 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Jeff Mohler" <speedtoys.racing@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: X11 library question..
Message-ID:  <d7195cff0703020941i39b3752o7f18371f99572bd3@mail.gmail.com>
In-Reply-To: <a969fbd10703011542g274ee755pa00c0d6ae88226c7@mail.gmail.com>
References:  <a969fbd10703011542g274ee755pa00c0d6ae88226c7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/03/07, Jeff Mohler <speedtoys.racing@gmail.com> wrote:
> The error:
>
> error while loading shared libraries: libXm.so.3: cannot open shared object
> file: No such file or directory
>
>
> Ive done a few searches, and installing open-motif seemed to be the right
> answer, but isnt getting me anywhere.

Indeed,
% find /usr/X11R6/ -type f -iname "*libxm*"
. . .
/usr/X11R6/lib/libXm.so.3
. . .
% grep -r libXm /var/db/pkg/
. . .
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.a
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so.3
. . .
% ldconfig -r | grep libXm
. . .
       127:-lXm.3 => /usr/X11R6/lib/libXm.so.3
. . .

You may need to run ldconfig -R (or ldconfig -m /usr/X11R6/lib
if /usr/X11R6/lib somehow did not get in the hints file).

Alternatively, you may have an older version of open-motif,
which means you need to upgrade it.

-- 
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0703020941i39b3752o7f18371f99572bd3>