open-discussion > Error 40 With vtk
Showing 1-10 of 10 posts
Display:
Results per page:
Nov 18, 2012  06:11 AM | Mitchell Gomez
Error 40 With vtk
My instalation itś failed and i down know what is the reason ¿can you help me?
Mi OS is Ubuntu 12.04 lts32 bits
Thanks.

into the shell appear the next code.

angel@legna:/usr/local/bioimagesuite30$ ./start_bioimagesuite

BioimageSuite3_Base is now in your path
Key Components
/usr/local/bioimagesuite3_base/cmake26/bin/cmake
/usr/local/bioimagesuite3_base/tcl84/bin/tclsh
/usr/local/bioimagesuite3_base/vtk52/bin/vtk
CLAPACK in /usr/local/bioimagesuite3_base/clapack3
ITK in /usr/local/bioimagesuite3_base/itk310/lib/InsightToolkit
MYSQL in /usr/local/bioimagesuite3_base/mysql50
BioimageSuite ready to run. Type bis.tcl to get the starting menu (/usr/local/bioimagesuite30)
vtk: error while loading shared libraries: libhistory.so.5: cannot open shared object file: Error 40
Nov 19, 2012  04:11 PM | Xenophon Papademetris
Error 40 With vtk
Yes, sorry this is a known issue and easy to fix actually:

This should do it: (create a symbolic link from libhistory.so.6 to .so.5)
sudo ln -s /lib64/libhistory.so.6 /lib64/libhistory.so.5
Nov 20, 2012  12:11 AM | Mitchell Gomez
RE: Error 40 With vtk
thanks.

I think those two files but when running. / start_bioimagesuite continues to set those mistakes I attached the image in the terminal where I am creating libhistory.so.5 to so.6

thanks for help
Nov 20, 2012  03:11 PM | Magno Guillen
RE: Error 40 With vtk
Hi Mitchel,

It looks like a permission issue. In order to create the symbolic link in the library , you should use:
ln -fs file_name link_name

IN your case,

ln -fs libhistory.so.6  libhistory.so.5


Then you could check the file permission to make sure your application can access it.
Use :
ls -la

Try it and let us know.
Nov 21, 2012  02:11 AM | Xenophon Papademetris
RE: Error 40 With vtk
My fault -- on ubuntu add sudo infront of the ln command. You need to do this as root.

cd /lib64
sudo ln -fs libhistory.so.6 libhistory.so.5
Mar 6, 2014  03:03 PM | Edden Gerber
RE: Error 40 With vtk
Hi, 

I ran into the same problem described here, however this solution does not work. This seems to be because I do not have either of the files libhistory.so.5 OR libhistory.so.6 on my machine. 

I installed bioimage suite on the latest NeruDebian virtual machine. Could it be that I need some earlier linux version to run BIS? 

Thanks, 
Edden 
Originally posted by Xenophon Papademetris:
My fault -- on ubuntu add sudo infront of the ln command. You need to do this as root.

cd /lib64
sudo ln -fs libhistory.so.6 libhistory.so.5
Mar 6, 2014  03:03 PM | Xenophon Papademetris
RE: Error 40 With vtk
Sorry, we need to provide a new binary for the latest Linux boxes. Will do in the next couple of hours. There is an internal build, I will upload this to nitrc in the next couple of hours.

Xenios
Mar 6, 2014  07:03 PM | Xenophon Papademetris
RE: Error 40 With vtk
https://drive.google.com/folderview?id=0...

This is a 32-bit build for 3.2b1 that should work under the newest Linux releases. Please try and let me know.

Xenios
May 18, 2014  06:05 PM | Manuel Mercier
RE: Error 40 With vtk
Hello,
I am using Ubuntu 12.04 lts under a 64 bit machine. I tried to install BioimageSuite but experienced the same problem:
vtk: error while loading shared libraries: libhistory.so.5: cannot open shared object file: no such file or directory
Also there is no libhistory.so.6 or 5 in either folders lib, lib32 or lib64
I followed the different suggestions on the forum without much success.
Any suggestions?
Thanks in advance,
Manuel
May 21, 2014  08:05 PM | Xenophon Papademetris
RE: Error 40 With vtk
You probably need to install 32-bit support on Ubuntu, it is not there by default any more (I think). See http://stefaanlippens.net/32bit_executab...