[Insight-users] Problems installing WrapITK on 64-bit Fedora Core 6

Bill Hoffman bill.hoffman at kitware.com
Thu Jul 12 15:40:26 EDT 2007


Benjamin Goldenberg wrote:
> Hi,
> I am currently trying to build and install WrapITK on a 64-bit Fedora
> Core 6 machine. I have already built ITK 3.2.0 and CableSwig without any
> problems. I am using Python 2.4.4, because I had read that WrapITK would
> not work with Python 2.5 on 64-bit machines. When I try to compile
> WrapITK after using ccmake to configure, I get the following error at
> about 3% completion. I would greatly appreciate any help.
>
> Benjamin Goldenberg
> Numira Biosciences
>
> Scanning dependencies of target VXLNumericsJava
> Linking CXX shared library ../../lib/libVXLNumericsJava.so
> /usr/bin/ld: /usr/local/lib/InsightToolkit/libitkvnl.a(vnl_matrix_fixed_ref+float.3.3-.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> /usr/local/lib/InsightToolkit/libitkvnl.a: could not read symbols: Bad
> value
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libVXLNumericsJava.so] Error 1
> make[1]: *** [Modules/VXLNumerics/CMakeFiles/VXLNumericsJava.dir/all]
> Error 2
> make: *** [all] Error 2
>   
You need to either build shared or add -fPIC to your CXXFLAGS or CFLAGS.

-Bill



More information about the Insight-users mailing list