open-discussion > Problem finding libANNlb.so
Showing 1-3 of 3 posts
Jul 18, 2012 12:07 PM | Brandon Whitcher
Problem finding libANNlb.so
Hello. First of all, thank-you for releasing the program ROBEX. I
have downloaded the 64-bit linux binary and applied it to a test
ANALYZE dataset. Unfortunately, I receive the following error(s)
=====
$ ./ROBEX template_mri.hdr stripped
Step 1 of 9: reading in images... Done! It took roughly 0 seconds
./elastix/elastix: error while loading shared libraries: libANNlib.so: cannot open shared object file: No such file or directory
mv: cannot stat `./temp_stripped/kilsmpqo/TransformParameters.0.txt': No such file or directory
./elastix/elastix: error while loading shared libraries: libANNlib.so: cannot open shared object file: No such file or directory
mv: cannot stat `./temp_stripped/kilsmpqo/TransformParameters.0.txt': No such file or directory
./elastix/elastix: error while loading shared libraries: libANNlib.so: cannot open shared object file: No such file or directory
mv: cannot stat `./temp_stripped/kilsmpqo/TransformParameters.0.txt': No such file or directory
Step 2 of 9: registration... ExceptionObject caught !
itk::ImageFileReaderException (0x2ace710)
Location: "void itk::ImageFileReader::GenerateOutputInformation() [with TOutputImage = itk::Image, ConvertPixelTraits = itk::DefaultConvertPixelTraits]"
File: /home/eugenio/InsightToolkit-3.16.0/Code/IO/itkImageFileReader.txx
Line: 146
Description: Could not create IO object for file ./temp_stripped/kilsmpqo/result.0.img
The file doesn't exist.
Filename = ./temp_stripped/kilsmpqo/result.0.img
=====
libANNlib.so is in the elastix directory. Where is elastix looking for it?
cheers...
Brandon
=====
$ ./ROBEX template_mri.hdr stripped
Step 1 of 9: reading in images... Done! It took roughly 0 seconds
./elastix/elastix: error while loading shared libraries: libANNlib.so: cannot open shared object file: No such file or directory
mv: cannot stat `./temp_stripped/kilsmpqo/TransformParameters.0.txt': No such file or directory
./elastix/elastix: error while loading shared libraries: libANNlib.so: cannot open shared object file: No such file or directory
mv: cannot stat `./temp_stripped/kilsmpqo/TransformParameters.0.txt': No such file or directory
./elastix/elastix: error while loading shared libraries: libANNlib.so: cannot open shared object file: No such file or directory
mv: cannot stat `./temp_stripped/kilsmpqo/TransformParameters.0.txt': No such file or directory
Step 2 of 9: registration... ExceptionObject caught !
itk::ImageFileReaderException (0x2ace710)
Location: "void itk::ImageFileReader::GenerateOutputInformation() [with TOutputImage = itk::Image, ConvertPixelTraits = itk::DefaultConvertPixelTraits]"
File: /home/eugenio/InsightToolkit-3.16.0/Code/IO/itkImageFileReader.txx
Line: 146
Description: Could not create IO object for file ./temp_stripped/kilsmpqo/result.0.img
The file doesn't exist.
Filename = ./temp_stripped/kilsmpqo/result.0.img
=====
libANNlib.so is in the elastix directory. Where is elastix looking for it?
cheers...
Brandon
Jul 24, 2012 01:07 PM | Juan Eugenio Iglesias
RE: Problem finding libANNlb.so
Dear Brandon,
you can solve this issue by adding the elastix directory to LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:/pathToROBEX/elastix
Kind regards,
Eugenio
you can solve this issue by adding the elastix directory to LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:/pathToROBEX/elastix
Kind regards,
Eugenio
Aug 1, 2012 06:08 PM | Brandon Whitcher
RE: Problem finding libANNlb.so
Okay, I have added this to my LD_LIBRARY_PATH (in bash syntax ;-).
Brandon
Brandon