X11 library question..

illoai at gmail.com illoai at gmail.com
Fri Mar 2 17:41:20 UTC 2007


On 01/03/07, Jeff Mohler <speedtoys.racing at 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.

-- 
--


More information about the freebsd-questions mailing list