[slicer-users] getting started with Slicer on linux trouble...

Andriy Fedorov fedorov at bwh.harvard.edu
Sat Feb 6 13:41:55 EST 2010


On Sat, Feb 6, 2010 at 13:14, Huge Ontoman <darbam at hotmail.com> wrote:
> i tried to run the pre-built binary version of Slicer3 i recently
> downloaded,
> Slicer3-3.4.2-2010-01-07-linux-x86, but running ./Slicer3 gives me errors.
>
> Could not query slicer for module paths
> couldn't open
> "/media/USB-HDD/_DATA/LINUX/slicer/Slicer3-3.4.2-2010-01-07-linux-x86/lib/Slicer3/Slicer3Version.txt":
> no such file or directory
> /media/USB-HDD/_DATA/LINUX/slicer/Slicer3-3.4.2-2010-01-07-linux-x86/bin/Slicer3-real:
> error while loading shared libraries: libITKFEM.so.3.10: cannot open shared
> object file: No such file or directory
>

Huge,

it is hard to say what exactly caused this error in your case. I would
suggest first to make sure you have enough space on your USB drive,
and that all of the files were extracted properly. FYI, untarred
Slicer 3.4.2 linux binary tree takes about 600M. Did you try to grep
for ITKFEM library in SLICER_HOME?

> I thought that installing the libinsighttoolkit3.6 would solve the problem,
> but that is not the case...after this, Slicer still wants version
> libITKFEM.so.3.10.

You don't need to install ITK. Slicer binary build should be self-contained.

> Digging deeper, ./bin/Slicer3-real doesn't find all of the required shared
> library dependencies, although the extracted directory contains all (?) of
> them..
> Running ldd ./bin/Slicer3-real gave me a lot (!) of these missing
> dependencies, so probably i'm missing something too.
>

ldd gives you unresolved dependencies because Slicer3-real starts in
the different environment, which is set up by Slicer3 binary (NOT
bin/Slicer3 binary -- don't use this one). If you try "Slicer3
--launch xterm", and then run ldd in that xterm, you should see all
dependencies resolved (if your installation is not corrupted).


> Obviously, i didn't do any installing of Slicer, simple case of
> extract-and-run.
> I'm really starting to use Ubuntu.
>
> My question is, is there a SAFE way to "configure" this extracted version of
> the application to use the shared libraries that come with the downloaded
> "pre-built" package?
> Can i run it from my external usb drive (i simply don't have space to put
> Slicer on OS partition)?
> Or do i have to build it from source to use my systems installed libraries?
>
> Any advice would be welcome!
> Cheers,
> Huge.
>
> ________________________________
> Windows Live Hotmail: Your friends can get your Facebook updates, right from
> Hotmail®.
> _______________________________________________
> slicer-users mailing list
> slicer-users at bwh.harvard.edu
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu
> with unsubscribe as the subject
>



More information about the slicer-users mailing list