Bug report #9235

Compile error with updated cfitsio >= 3.360

Added by Donovan Cameron almost 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Build/Install
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:17856

Description

This is the compile error from QGIS 2.0.1 (stable/release) with an updated cfitsio (3.360) reported from an Arch Linux user:

Linking C executable ../../../output/lib/qgis/grass/modules/qgis.g.info
/usr/bin/ld: warning: libcfitsio.so.1, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffcrim'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffmahd'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffpscl'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffukls'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffppr'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffgkyn'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffgkls'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffgpv'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffghsp'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffplsw'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffopentest'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffinit'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffgipr'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libgdal.so: undefined reference to `ffclos'
collect2: Fehler: ld gab 1 als Ende-Status zurück
src/providers/grass/CMakeFiles/qgis.g.info.dir/build.make:92: recipe for target 'output/lib/qgis/grass/modules/qgis.g.info' failed
make[2]: *** [output/lib/qgis/grass/modules/qgis.g.info] Error 1
CMakeFiles/Makefile2:1362: recipe for target 'src/providers/grass/CMakeFiles/qgis.g.info.dir/all' failed
make[1]: *** [src/providers/grass/CMakeFiles/qgis.g.info.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

Downgrading to cfitsio 3.350 fixes the compile error.

History

#1 Updated by Jürgen Fischer almost 11 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

QGIS doesn't use cfitsio directly. Sounds like a GDAL packaging problem on ArchLinux.

#2 Updated by Donovan Cameron almost 11 years ago

Thanks, I just had to recompile gdal with cfitsio and all was good when compiling qgis again.

Also available in: Atom PDF