I tried to use the Webkit based HTMLViewer on a 64-bit-Linux (Ubuntu 12.04 LTE) and it didn’t work because Webkit isn’t part of the 32-bit compatibility library package you can install with
sudo apt-get install ia32-libs
or
sudo apt-get install ia32-libs-multiarch
Because I could not find a solution on this forum, I will post my solution here. It will work on Ubuntu, but it should also work for other distributions, as long as Xojo works there. First install the 64-bit version of libwebkitgtk-1.0. On Ubuntu, you would use this command:
sudo apt-get install libwebkitgtk-1.0.0
You can then download the necessary webkit 32-bit libraries from here.
Copy the unpacked folder libwebkit32 to some place on your hard drive, e.g. to /usr/lib/.
Then launch the Xojo IDE in this way:
LD_LIBRARY_PATH=/usr/lib/libwebkit32 /opt/xojo/xojo2014r1/Xojo
or your built app:
LD_LIBRARY_PATH=/usr/lib/libwebkit32 /path/to/the/app
Of course you can also do this in a batch file, so that your users don’t have to use the terminal to launch your app.
If you want to recreate my libwebkit32 package (e.g. because a new security update for webkit has been released or because you don’t trust me), do this:
Download the following packages from Ubuntu (you always have to choose the latest version on the top right and then download the .deb file on the right under “Downloadable files”):
https://launchpad.net/ubuntu/precise/i386/libwebkitgtk-1.0-0
https://launchpad.net/ubuntu/precise/i386/libenchant1c2a
https://launchpad.net/ubuntu/precise/i386/libjavascriptcoregtk-1.0-0
https://launchpad.net/ubuntu/precise/i386/libgeoclue0
https://launchpad.net/ubuntu/precise/i386/libicu48
Copy all the deb files to a folder, then create a subfolder called “fakeroot”. Then install every deb file you downloaded to the fake root directory with this command (if you do not use a Debian based distribution like Ubuntu, you probably have to install dpkg-deb first):
dpkg-deb -x debfilename.deb fakeroot
where debfilename.deb is the name of the downloaded file, of course.
Finally, do this:
cd fakeroot/usr/lib
ln -s libwebkitgtk-1.0.so.0 libwebkitgtk-1
cd ..
mv lib libwebkit32
Then you can use this libwebkit32 folder under fakeroot/usr just like the one downloaded from above.
I hope this helps!