touch screen driver setup follow-on

Asked by David

Ok, thanks to andrewparsnip and company, I got thru the complete driver setup, what with
1)copying files
2) setting up rc.local and rc.#d run level scripts
3) some other initd entries
4) setting file permissions, created a directory that I thought was supposed to be there (that wasn't)
etcetera...

I was seeminly successful in all of that, and am able to
CALIBRATE the touchscreen function
USE the touchscreen in Ubuntu (10.04LTS), and
USE the command line control utility...

BUUT when I try to load the control panel applet via the instructions as below:

**********
Run the control panel utility from a command window in X Windows from the /etc/opt/elo-usb directory. Motif version 3.0 (libXm.so.3) or 4.0 (libXm.so.4) is required to use the GUI based control panel (/etc/opt/elo-usb/cpl).

  # cd /etc/opt/elo-usb
  # ./cpl
**********

I get the following error:
USERNAME@HOSTNAME:/etc/opt/elo-usb$ ./cpl
./cpl: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
USERNAME@HOSTNAME:/etc/opt/elo-usb$

I can verify that the cpl file exists in the specified directory

any suggestions?

BTW - thanks to all of you that share your knowledge

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-input-elographics Edit question
Assignee:
No assignee Edit question
Solved by:
David
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please install the

apt-file

package to install it from terminal type:

sudo apt-get install apt-file

then make sure it apt-file is updated from terminal type:

apt-file update

then search the packages containing the libXm.so.3 with

apt-file search libXm.so.3

or

apt-file search libXm.so.4

please then install the package that have the libXm.so.3 or libXm.so.4 in it

Revision history for this message
David (dfkwild) said :
#2

Hey Marco - thanks for the response

I have

1)installed the apt-file package
2) performed the update
3) searched with apt-file search libXm.so.3 or 4

USERNAME@HOSTNAME:~$ apt-file search libXm.so.3
libmotif3: /usr/lib/libXm.so.3
libmotif3: /usr/lib/libXm.so.3.0.2
USERNAME@HOSTNAME:~$ apt-file search libXm.so.4
USERNAME@HOSTNAME:~$

so it appears .3 is package I need - so I tried to install package:

USERNAME@HOSTNAME:~$ sudo apt-get install /usr/lib/libXm.so.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package

sorry for my noob ignorance - what am I doing incorrectly?

Revision history for this message
David (dfkwild) said :
#3

so perhaps I did not need to try to "install" libXm.so.3 or .4?

I ran another apt-file update just in case

As you may see below, I believe I am
a) in the correct directory (see ls -l command output)
b)I have tried to run the ./cpl command, as well as
c) try to run the ./cpl_motif4 command,
both to no avail

(the cplcmd file is a command line version, which works)

I get the following errors (blank lines inserted for easier reading):

USERNAME@HOSTNAME:/etc/opt/elo-usb$ ls -l
total 308
-rwxrwxrwx 1 root root 203 2011-02-17 18:34 99-elotouch.rules
-rwxrwxrwx 1 root root 77833 2011-02-17 18:34 cpl
-rwxrwxrwx 1 root root 17684 2011-02-17 18:34 cplcmd
-rwxrwxrwx 1 root root 81929 2011-02-17 18:34 cpl_motif4
-rwxrwxrwx 1 root root 442 2011-02-17 18:34 eloCreateFifo.sh
-r--r--r-- 1 root root 7148 2011-02-17 18:34 Elo-Linux-USB-Driver_List-of-New-Features.txt
-rwxrwxrwx 1 root root 228 2011-02-17 18:34 elorc
-rwxrwxrwx 1 root root 35855 2011-02-17 18:34 elousbd
-rw-r--r-- 1 root root 117 2012-02-19 22:55 EloUsbErrorLog.txt
-rwxrwxrwx 1 root root 28881 2011-02-17 18:34 elova
-rwxrwxrwx 1 root root 253 2011-02-17 18:34 loadEloTouchUSB.sh
-r--r--r-- 1 root root 16986 2011-02-17 18:34 readme.txt
-rwxrwxrwx 1 root root 2230 2011-02-17 18:34 setXAuthentication.sh
-rwxr-xr-x 1 root root 460 2012-02-19 00:05 USBConfigData

USERNAME@HOSTNAME:/etc/opt/elo-usb$ ./cpl
./cpl: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

USERNAME@HOSTNAME:/etc/opt/elo-usb$ ./cpl_motif4
./cpl_motif4: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory

I *think* the libXm.so.3 and .4 libraries are installed...

any suggestions?

thanks
David

Revision history for this message
David (dfkwild) said :
#4

hellooo? ... anybody?...buehler? buehler?

Revision history for this message
David (dfkwild) said :
#5

closed-solved in another question -

neither libXm.so.3 or libXm.so.4 libraries were installed - Lucid supports lilbmotif3 package - installed it and the touchscreen utility works!