Got a problem when installing J2EE SDK on Ubuntu?
Got this problem when installing the J2EE SDK on Ubuntu….
./j2eesdk-1_4_03-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
And thanks for this site which help me to solve my problem :
Here is the quick solution :
1. do dpkg -L libstdc++5 to see if you already have the libstdc++5 package installed. If you do, a list of the installed files will show up like this:
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libstdc++5
/usr/share/doc/libstdc++5/copyright
/usr/share/doc/libstdc++5/README.Debian
/usr/share/doc/libstdc++5/changelog.Debian.gz
/usr/lib
/usr/lib/libstdc++.so.5.0.7
/usr/lib/libstdc++.so.5
2. If you don’t see the list of files, you’ll need to install the libstdc++5 package by running these commands as root.
apt-get update
apt-get install libstdc++5
3. Next you need to create a symbolic link for the library in question by running this command as root.
ln -s /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++-libc6.2-2.so.3
