Subject: Failure to run linux CASetupUtility under Ubuntu
The following shows my efforts at getting the linux version of the new CA3 "CASetupUtility" to run under the Ubuntu distro (Ubuntu 12.04.4 LTS, common name "precise", kernel 3.2.0-60-generic-pae #91-Ubuntu). I made a new subdirectory under /data/erowbike for the downloaded compressed tar file from ES (CASetupUtility-linux-1.0.4.tgz, 6,976,662 bytes), and unpacked it in the new directory. As it does for the Windows version, it created its own subdirectory "CA Setup Utility", plus two additional subdirectories under that called "saved" and "data". It correctly sets the executable flag for the binary (CASetupUtility).
Code:
/data/erowbike$ mkdir /data/erowbike/CA_linux
/data/erowbike/CA_linux/CA Setup Utility$
drwxr-xr-x 2 hj hj 4096 Apr 5 20:26 saved/
drwxr-xr-x 2 hj hj 4096 Apr 5 20:27 data/
-rwxr-xr-x 1 hj hj 16070086 Apr 5 21:35 CASetupUtility* <-- the binary executable file
Running the binary resulted in the following failure to find a shared library file "libxkbcommon.so.0":
Code:
/data/erowbike/CA_linux/CA Setup Utility$ ./CASetupUtility
./CASetupUtility: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory
A search of my system showed that the only name-related file(s) installed were "libxkbfile.so.*".
Code:
hj@gigi:/data/erowbike/CA_linux/CA Setup Utility$ locate libxkb
/usr/lib/i386-linux-gnu/libxkbfile.so.1
/usr/lib/i386-linux-gnu/libxkbfile.so.1.0.2
/usr/share/doc/libxkbfile1
/usr/share/doc/libxkbfile1/changelog.Debian.gz
/usr/share/doc/libxkbfile1/copyright
/var/lib/dpkg/info/libxkbfile1:i386.list
/var/lib/dpkg/info/libxkbfile1:i386.md5sums
/var/lib/dpkg/info/libxkbfile1:i386.postinst
/var/lib/dpkg/info/libxkbfile1:i386.postrm
/var/lib/dpkg/info/libxkbfile1:i386.shlibs
I then installed the "libxkbcommon0" package, a shared library interface to the XKB compiler, and re-ran the "CASetupUtility" binary. It could now find the object file, but complains about an "undefined symbol". Just to be thorough, I installed all remaining (three) additional "libxkb*" packages (all designed for developers and debugging) and none fixed the 'undefined symbol' error.
Code:
hj@gigi:/data/erowbike/CA_linux/CA Setup Utility$ ./CASetupUtility
./CASetupUtility: symbol lookup error: ./CASetupUtility: undefined symbol: xkb_context_new
I'm guessing that the linux version of CASetupUtility was probably developed/compiled/tested on a non debian/ubuntu type distribution, so this error didn't occur. In my younger years I would grab the source code and compile it on my system to avoid such errors, but I'm guessing this isn't 'open source' software, so that's probably not an option. I do have the alternative of running the Windows version, so I'm not dead in the water, but I'd prefer running the linux version, all other things being equal. I know Justin said there wasn't a "lot" of demand for this, so I don't expect this to be a high priority for anyone.
But, helpful advice would be appreciated, and I'm willing to work towards obtaining a mutually useful outcome. ...hj