sdm-help-list > SDM seg fault on CentOS 6 after install
Showing 1-6 of 6 posts
Display:
Results per page:
Jul 25, 2017  10:07 PM | vsan - VMRF
SDM seg fault on CentOS 6 after install
without this libtiff.so.5 it gives this message
 

/home/csan/loc/loc1/SdmGui-linux64/bin/linux64/sdmGui: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
 
 
When clicking on the desktop sdmGui Icon nothing happens
When using libtiff.so.5   and then typing sdm I receive the following message in the terminal 

/home/user/loc/SdmGui-linux64/bin/linux64/runSdmGui.sh: line 4: 22292 Segmentation fault      (core dumped) LD_LIBRARY_PATH=$GUIPATH $GUIPATH/sdmGui
 
any idea as to why?   (and thank you)
  
 
I created a folder named loc in my home folder
Downloaded the tar extracted in present folder and enabled exec on scripts in SdmGui-linux64
 
runSdmGui.sh
#!/bin/bash
GUIPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
chmod +x $GUIPATH/*
LD_LIBRARY_PATH=$GUIPATH $GUIPATH/sdmGui
 
echoing $LD_LIBRARY_PATH and $GUIPATH returns a blank value with a newline
 
version CentOS 6.9
Jul 27, 2017  07:07 AM | Anton Albajes-Eizagirre - FIDMAG - Germanes Hospitalaries
RE: SDM seg fault on CentOS 6 after install
Hi Vsan,

How did you use the libtiff? The segfault probably means that the version of the libtiff is not correct. Which version did  you use? I have no CentOS 6.9 installation to check which version it bundles.

Ant

Originally posted by vsan:
When using libtiff.so.5   and then typing sdm I receive the following message in the terminal 

/home/user/loc/SdmGui-linux64/bin/linux64/runSdmGui.sh: line 4: 22292 Segmentation fault      (core dumped) LD_LIBRARY_PATH=$GUIPATH $GUIPATH/sdmGui
  
version CentOS 6.9
Jul 27, 2017  11:07 PM | vsan - VMRF
RE: SDM seg fault on CentOS 6 after install
Thank you for your reply Ant
 
on the SL 7  I yum installed it from compat-libstdc++-33
on the CentOS 6.9 It was installed with matlab
 
even with the soft references from /usr/lib64/  to  /lib64/
 
 
$> ldconfig -p | grep libstdc++.so.5
 libstdc++.so.5 (libc6,x86-64) => /usr/lib64/libstdc++.so.5
 libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5
 
 
$> locate libstdc++.so.5
/lib/libstdc++.so.5
/lib64/libstdc++.so.5
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7

$> whereis libstdc++.so.5
libstdc++.so: /lib/libstdc++.so.5 /usr/lib/libstdc++.so.5 /lib64/libstdc++.so.5 /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.5
 
$> sdm
/home/csan/loc/loc1/SdmGui-linux64/bin/linux64/sdmGui: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
 
 
Jul 28, 2017  09:07 AM | Anton Albajes-Eizagirre - FIDMAG - Germanes Hospitalaries
RE: SDM seg fault on CentOS 6 after install
Vsan,

Could you please run locate on libtiff.so.5 and post the result?

Originally posted by vsan:

$> locate libstdc++.so.5
/lib/libstdc++.so.5
/lib64/libstdc++.so.5
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7

$> sdm
/home/csan/loc/loc1/SdmGui-linux64/bin/linux64/sdmGui: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
 
Jul 28, 2017  09:07 PM | vsan - VMRF
RE: SDM seg fault on CentOS 6 after install

$> locate libtiff.so.5
/home/csan/libtiff.so.5
/usr/local/MATLAB/R2014b/bin/glnxa64/libtiff.so.5
/usr/local/MATLAB/R2014b/bin/glnxa64/libtiff.so.5.0.5
Jul 31, 2017  07:07 AM | Anton Albajes-Eizagirre - FIDMAG - Germanes Hospitalaries
RE: SDM seg fault on CentOS 6 after install
Yep, there's a problem there. It seems SDM is trying to use libtiff 5.0.5, while it was compiled to use 5.2.0 Moreover, I suspect Matlab's version of libtiff is somehow 'customised' (I had several incompatibility problems in the past).

I think best course of action would be trying to install libtiff from CentOS. Unfortunately, I have no experience on CentOS and I can't help you with it...
Originally posted by vsan:

$> locate libtiff.so.5
/home/csan/libtiff.so.5
/usr/local/MATLAB/R2014b/bin/glnxa64/libtiff.so.5
/usr/local/MATLAB/R2014b/bin/glnxa64/libtiff.so.5.0.5