Skip to content

Installation issue: gdal #23943

@tldahlgren

Description

@tldahlgren

Steps to reproduce the issue

$ spack install gdal
...
  >> 232     checking for shared library run path origin... /bin/sh: /var/tmp/d
             ahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mjgdghqy
             zgmctzfvq/spack-src/config.rpath: No such file or directory
     233     done
...
  >> 1666    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_object_get_userdata'
  >> 1667    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_c_object_sizeof'
  >> 1668    collect2: error: ld returned 1 exit status
  >> 1669    make[1]: *** [gdalwarp] Error 1
     1670    make[1]: *** Waiting for unfinished jobs....
  >> 1671    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_object_get_userdata'
  >> 1672    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_c_object_sizeof'
  >> 1673    collect2: error: ld returned 1 exit status
  >> 1674    make[1]: *** [gdalinfo] Error 1
  >> 1675    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_object_get_userdata'
  >> 1676    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_c_object_sizeof'
  >> 1677    collect2: error: ld returned 1 exit status
  >> 1678    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_object_get_userdata'
  >> 1679    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_c_object_sizeof'
  >> 1680    collect2: error: ld returned 1 exit status
  >> 1681    make[1]: *** [gdalmanage] Error 1
  >> 1682    make[1]: *** [nearblack] Error 1
  >> 1683    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_object_get_userdata'
  >> 1684    /tmp/dahlgren/spack-stage/spack-stage-gdal-3.3.0-t26ewxarqcbey74mj
             gdghqyzgmctzfvq/spack-src/.libs/libgdal.so: undefined reference to
              `json_c_object_sizeof'
  >> 1685    collect2: error: ld returned 1 exit status
  >> 1686    make[1]: *** [gdaltransform] Error 1
     1687    make[1]: Leaving directory `/tmp/dahlgren/spack-stage/spack-stage-
             gdal-3.3.0-t26ewxarqcbey74mjgdghqyzgmctzfvq/spack-src/apps'
  >> 1688    make: *** [apps-target] Error 2
...

Information on your system

  • Spack: 0.16.2-2850-b596abe037
  • Python: 3.7.2
  • Platform: linux-rhel7-broadwell
  • Concretizer: original

Additional information

spack-build-env.txt
spack-build-out.txt

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions