From: adam a. <ada...@ho...> - 2012-10-01 11:54:47
|
Hi, I've been having trouble installing the DICOM toolbox, which fails with the following error message: octave:2> pkg install dicom-0.1.1.tar.gz /usr/bin/ld: /usr/local/lib/libgdcmDSED.a(gdcmReader.cxx.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/libgdcmDSED.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [dicominfo.oct] Error 1 'make' returned the following error: make: Entering directory `/tmp/oct-iaKJnH/dicom/src' mkoctfile -c -g dicominfo.cpp mkoctfile -c -g dicomdict.cpp mkoctfile -L/usr/local/lib -lgdcmcharls -lgdcmjpeg8 -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -g dicominfo.o dicomdict.o -o dicominfo.oct make: Leaving directory `/tmp/oct-iaKJnH/dicom/src' error: called from `pkg>configure_make' in file /usr/local/share/octave/3.6.3/m/pkg/pkg.m near line 1385, column 9 error: called from: error: /usr/local/share/octave/3.6.3/m/pkg/pkg.m at line 827, column 5 error: /usr/local/share/octave/3.6.3/m/pkg/pkg.m at line 383, column 9 This is on a 64-bit Scientific Linux 5.7 system, with gdcm-2.0.19. I've tried recompiling gdcm with -fPIC and -64 with no success. I've previously installed it on a different system (64-bit Scientific Linux 6.2 with gdcm-2.0.19 compiled with the default settings) without any problems. Any ideas what the problem might be? Thanks, Adam |