GP lisper <[EMAIL PROTECTED]> writes:
> If you know where libXm is located, adjust the root of the find search..
> If you have NFS (or other) mounted X libs, remove the '-mount'
>
> find /usr -mount -name "libXm.*" -ls -exec strings "{}" \; | grep -i Version
> | grep -i Motif
>
> In my case:
> the libXm.so.3.0.2 is Motif Version 2.2.3
> the libXm.so.2.1 is Motif Version 2.1.30
I get:
motifVersion
MotifVersion
motifVersion
MotifVersion
motifVersion
MotifVersion
motifVersion
MotifVersion
If I run this command instead:
find /usr -mount -name "libXm.*" -ls
I get:
16777703 1608 -rw-r--r-- 1 root root 1643316 Dec 11 2003
/usr/X11R6/lib/libXm.a
16854744 1252 -rwxr-xr-x 1 root root 1281268 Dec 11 2003
/usr/X11R6/lib/libXm.so.2.0.1
16859232 4 -rwxr-xr-x 1 root root 940 Dec 11 2003
/usr/X11R6/lib/libXm.la
16859295 0 lrwxrwxrwx 1 root root 14 Nov 1 2004
/usr/X11R6/lib/libXm.so.2 -> libXm.so.2.0.1
16789410 0 lrwxrwxrwx 1 root root 14 Nov 1 2004
/usr/X11R6/lib/libXm.so -> libXm.so.2.0.1
Examining /usr/X11R6/lib/libXm.so.2.0.1 and /usr/X11R6/lib/libXm.a
with strings doesn't turn out any Motif version number.
Paolo
--
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log