Menu

issue when install gadgetron 2.5 with dcmtk

Zou Chao
2014-02-10
2014-02-12
  • Zou Chao

    Zou Chao - 2014-02-10

    hello, everyone. When I installed gadgetron 2.5 with DCMTK, following issue occurred in make:

    /usr/bin/ld: /usr/local/lib/libdcmdata.a(dcdict.cc.o): relocation R_X86_64_32S against `std::basic_string<char, std::char_traits\<char="">, std::allocator\<char> >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libdcmdata.a: could not read symbols: Bad value
    collect2: ld return 1
    make[2]: *** [gadgets/dicom/libgadgetron_dicom.so] error 1
    make[1]: *** [gadgets/dicom/CMakeFiles/gadgetron_dicom.dir/all] error 2
    make: *** [all] return 2</char></char,>

    Anyone who know how to solve it?
    Many appreciations!

     
    • Michael Hansen

      Michael Hansen - 2014-02-10

      We probably need to know a bit more about your platform and how you installed dcmtk.


      Sent from a mobile device - please excuse brevity and/or typos.

      On Feb 9, 2014, at 10:16 PM, "Zou Chao" zouchao1112@users.sf.net wrote:

      hello, everyone. When I installed gadgetron 2.5 with DCMTK, following issue occurred in make:

      /usr/bin/ld: /usr/local/lib/libdcmdata.a(dcdict.cc.o): relocation R_X86_64_32S against `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC
      /usr/local/lib/libdcmdata.a: could not read symbols: Bad value
      collect2: ld return 1
      make[2]: [gadgets/dicom/libgadgetron_dicom.so] error 1
      make[1]: [gadgets/dicom/CMakeFiles/gadgetron_dicom.dir/all] error 2
      make: *** [all] return 2

      Anyone who know how to solve it?
      Many appreciations!

      issue when install gadgetron 2.5 with dcmtk

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gadgetron/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
      • Zou Chao

        Zou Chao - 2014-02-12

        Sorry, I missed that.
        The platform is Ubuntu 12.04 LTS. The DCMTK was used as git:https://github.com/commontk/DCMTK
        Thanks!

         
        • Thomas Sangild Sørensen

          Try using DCMTK out-of-the-box:
          I have packages dcmtk libdcmtk2 libdcmtk2-dev installed using apt-get and that works for me.

          / Thomas

           
MongoDB Logo MongoDB