Installing RAD 754, WCS Toolkit on Ubuntu 11.10

I'm almost done setting up eclipse and my Open Source J2ee development environment on Ubuntu, I decided to try setting up Commerce development toolkit on Ubuntu, I did expect this to be a bumpy ride, so here is my experience with RAD and WAS 7 test environment on Ubuntu 11.10


Step 1
If you are trying to run installer launchpad from your external USB/hard drive you need to ensure you copy all the content to some location which has execute permission, on Ubuntu all external drives are automatically mounted to /media folder and for some reason this does not have permissions to run any program.
you may get following error if you run launchpad from external drive.

-bash: ./launchpad.sh: Permission denied

To work around this issue copy all the installer files to your home folder and then execute launchpad from this location.


Step 2

Before we get started we need to ensure we have installed libstdc++5, IBM installer depends on this library, this can be installed by running following from command prompt

sudo apt-get install libstdc++5
Validate your installation by running following from command prompt

ldconfig -p | grep libstdc++

You should see something similar

libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6
libstdc++.so.6 (libc6) => /usr/lib/i386-linux-gnu/libstdc++.so.6
libstdc++.so.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.5
libstdc++.so.5 (libc6) => /usr/lib32/libstdc++.so.5


Step 3
Now we have required library installed, but InstallationManager has few hard coded logic in it, To fix this issue create a simlink using following command.

sudo ln -s /usr/lib32/libstdc++.so.5 /usr/lib/

For records here are the issues you may encounter if you don't follow previous step.


You may notice following error during startup
Inspiron-N5110:/opt/IBM/InstallationManager/eclipse$ sudo ./launcher
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libdconfsettings.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libdconfsettings.so

Ideally setting up classpath should fix this issue, E.g. LD_LIBRARY_PATH="/usr/lib32/libstdc++.so.5"
This appears to be a stupid hardcoded logic in InstallationManager which always checks in /usr/lib, instead of checking classpath entry LD_LIBRARY_PATH, to overcome this problem you need to create the simlink as mentioned in this step.
Error encountered: "make sure libstdc++.so.5 is available in the system library path"

when you get to one of the steps of installation.





and now it is time to give credits for all brave hearts who tried this on Linux. 
BERIKAN KOMENTAR ()
Jangan Lupa Tinggalkan Komentarnya di Kolom komentar jika ada bug, atau artikelnya error atau tulisannya salah ya sahabat
 
wisata tradisi game kuliner
close