on 06-24-2010 3:32 AM
Greetings, I am installing MaxDB on a fresh install of Ubuntu 10.04. The install is failing in the initial stages when it fails to find libstdc+.so.5. Ubuntu 10.04 supports libstdc.so.6 and I verified it is installed. However, the MaxDB install will not complete without finding libstdc+.so.5. has anyone come across this and what did you do to overcome the issue?
TIA,
Pat
I had this problem as well:
cannot load wxWidgets properly: Can't load './Wx.so' for module Wx: libtiff.so.3: cannot open shared object file: No such file or directory at DynaLoader.pm line 230.
at SDB::Common::Require line 51
Tried to link the files as suggested:
ln -sf /usr/lib/libtiff.so.4 /usr/lib/libtiff.so3
LOOK CLOSELY.... the missing file is 'libtiff.so.3' and the linking file is 'libtiff.so3'
I did not have the file ' /usr/lib/libtiff.so.3' (causing the error) So I copied the file ' /usr/lib/libtiff.so3' and renamed it to ' /usr/lib/libtiff.so.3'
cp /usr/lib/libtiff.so3 /usr/lib/libtiff.so.3
Then linked the correct file:
sudo ln -sf /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3
FIXED! Was able to run the ./SDBSETUP without errors.
Hope this helps someone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just create a symlink from your libstdc+.so.6 library to libstdc+.so.5, it should still work.
Eg.
cd /usr/lib
ln -s libstdc+.so.6.0.13 libstdc+.so.5
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the pointer. I actually used dpkg to install lidstdc++5 and got around that one, only to reveal a couple other dependency issues. libpng3, which I manually fixed and now libtiff3 which I can't even find. libtiff4 goes all the way back to Ubuntu Heron.
So still plugging away.
Thanks again,
Pat
I have the same issue. I performed the steps above. So i have libpng.so.3 and libtiff.so.3, but the install (SDBSETUP) fails with the following message:
cannot load wxWidgets properly: Can't load './Wx.so' for module Wx: libpng.so.3: cannot open shared object file: No such file or directory at DynaLoader.pm line 230.
at SDB::Common::Require line 113
Hi Nelis,
thanks by your response.
i have installed libpng3 libtiff4 and the java6 32 and 64, but ./SDBSETUP don't work. the error is the same:
cannot load wxWidgets properly: Can't load './Wx.so' for module Wx: libpng.so.3: wrong ELF class: ELFCLASS32 at DynaLoader.pm line 230.
at SDB::Common::Require line 113
when i run apt-get install wx-common libpng3 libtiff4 the system says:
root@ubuntu:/opt/maxdb-all-linux-64bit-x86_64-7_7_07_16# apt-get install wx-common libpng3 libtiff4
Reading package lists... Done
Building dependency tree
Reading state information... Done
wx-common is already the newest version.
libpng3 is already the newest version.
libtiff4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
and the command
root@ubuntu:/usr/lib# ls -l libpng.so.3
-rw-rr 1 root root 145260 2010-08-17 23:55 libpng.so.3
i have Ubuntu 10.04.1 LTS x86_64 GNU/Linux
thanks by help me.
Best regards,
Rubén Darío Morales
cannot load wxWidgets properly: Can't load './Wx.so' for module Wx: libpng.so.3: wrong ELF class: ELFCLASS32 at DynaLoader.pm line 230.
at SDB::Common::Require line 113
You've linked libpng.so.3 to a 32 bit library it should be 64 bit for maxdb-all-linux-64bit-x86_64-7_7_07_16
root@centaur:/lib64# file libpng12.so.0.42.0
libpng12.so.0.42.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
root@centaur:/lib64# ln -s libpng12.so.0.42.0 libpng.so.3
Nelis
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.