cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB install on Ubnutu 10.04 Lucid

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

g_awater
Explorer
0 Kudos

just tried this on Debian 64bit, works like Ubuntu I guess:

apt-get install libpng12-0 libpng3 libtiff4

ln -s /lib/libpng12.so.0 /usr/lib/libpng.so.3

ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3

Hope it helps.

Former Member
0 Kudos

I think you are all riht, but on Ubuntu 13.X the libs: png and tiff are not in /usr/lib, they are in /usr/lib/i386/linux/gnu/lib*

so symlinking to the correct files(alt. search with find)

should help you.

regards

sebastiano

nelis
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

former_member256254
Participant
0 Kudos

softlink libpng:

ln -sf /usr/lib/libpng.so /usr/lib/libpng.so.3

then softlink libtiff also:

ln -sf /usr/lib/libtiff.so.4 /usr/lib/libtiff.so3

it solve the same problem in my laptop.

m_coenjaerts
Explorer
0 Kudos

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

Former Member
0 Kudos

hi,

i have the same error...

any idea?

thanks.

--

RM

nelis
Active Contributor
0 Kudos

In Ubuntu you need to do a: apt-get install wx-common libpng3 libtiff4

The rest you can symlink as already mentioned.

Nelis

Former Member
0 Kudos

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

hannes_kuehnemund
Active Contributor
0 Kudos

moved to MaxDB forum ...

nelis
Active Contributor
0 Kudos

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