Tob*_*Kel 5 linux r fedora gdal rgdal
我正在尝试在 Fedora 平台上的 R 中安装该软件包。但是,出现以下错误消息:configure: error: GDALAllRegister not found in libgdal。
\n我不知道如何处理错误消息。\n在这篇文章中已经有同样的问题,但在 Ubuntu 平台上:\
n在 rstudio 中安装 rgdal 库 - 在 libgdal 中找不到 GDALAllRegister
\n显然有解决方案不适合我。
\n谁能帮我解决这个问题吗?
> install.packages("rgdal")\nInstalliere Paket nach \xe2\x80\x98/home/user/R/x86_64-redhat-linux-gnu-library/4.2\xe2\x80\x99\n(da \xe2\x80\x98lib\xe2\x80\x99 nicht spezifiziert)\nversuche URL \'https://cran.rstudio.com/src/contrib/rgdal_1.6-5.tar.gz\'\nContent type \'application/x-gzip\' length 4465310 bytes (4.3 MB)\n==================================================\ndownloaded 4.3 MB\n\n* installing *source* package \xe2\x80\x98rgdal\xe2\x80\x99 ...\n** Paket \xe2\x80\x98rgdal\xe2\x80\x99 erfolgreich entpackt und MD5 Summen \xc3\xbcberpr\xc3\xbcft\n** using staged installation\nconfigure: R_HOME: /usr/lib64/R\nconfigure: CC: gcc\nconfigure: CXX: g++ -std=gnu++14\nconfigure: CFLAGS: -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection\nconfigure: CPPFLAGS: -I/usr/local/include\nconfigure: CXXFLAGS: -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection\nconfigure: LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1\nconfigure: LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1\nconfigure: CXX17 is: g++, CXX17STD is: -std=gnu++17\nconfigure: CXX is: g++ -std=gnu++17\nconfigure: C++17 support available\nconfigure: rgdal: 1.6-5\nchecking for /usr/bin/svnversion... no\nconfigure: svn revision: 1199\nchecking for gdal-config... /usr/bin/gdal-config\nchecking gdal-config usability... yes\nconfigure: GDAL: 3.5.2\nchecking GDAL version != 3.6.0... yes\nchecking GDAL version >= 1.11.4... yes\nchecking GDAL version <= 2.5 or >= 3.0... yes\nchecking GDAL: linking with --libs only... no\nchecking GDAL: linking with --libs and --dep-libs... no\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQcmdStatus@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQfname@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQsetNoticeProcessor@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQftable@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQcancel@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQstatus@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQftablecol@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQconnectdb@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQescapeStringConn@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `lo_close@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQputCopyEnd@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQgetvalue@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQgetisnull@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQftype@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQfmod@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `lo_creat@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQresultStatus@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `lo_read@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQexec@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQsetClientEncoding@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQgetlength@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQputCopyData@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQgetResult@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `lo_write@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQfinish@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQclear@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQerrorMessage@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQnfields@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `lo_open@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQexecParams@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQgetCancel@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQntuples@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQresultErrorMessage@RHPG_9.6\'\n/usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `PQfreeCancel@RHPG_9.6\'\ncollect2: error: ld returned 1 exit status\n/usr/bin/ld: cannot find -lodbcinst: No such file or directory\n/usr/bin/ld: cannot find -larmadillo: No such file or directory\n/usr/bin/ld: cannot find -lqhull_r: No such file or directory\n/usr/bin/ld: cannot find -lgeotiff: No such file or directory\n/usr/bin/ld: cannot find -lLerc: No such file or directory\n/usr/bin/ld: cannot find -lpoppler: No such file or directory\n/usr/bin/ld: cannot find -lgif: No such file or directory\n/usr/bin/ld: cannot find -lnetcdf: No such file or directory\n/usr/bin/ld: cannot find -lcfitsio: No such file or directory\n/usr/bin/ld: cannot find -lhdf5: No such file or directory\n/usr/bin/ld: cannot find -lgta: No such file or directory\n/usr/bin/ld: cannot find -lwebp: No such file or directory\n/usr/bin/ld: cannot find -ldf: No such file or directory\n/usr/bin/ld: cannot find -lmfhdf: No such file or directory\n/usr/bin/ld: cannot find -lopenjp2: No such file or directory\n/usr/bin/ld: cannot find -lOpenEXR: No such file or directory\n/usr/bin/ld: cannot find -lOpenEXRUtil: No such file or directory\n/usr/bin/ld: cannot find -lImath: No such file or directory\n/usr/bin/ld: cannot find -lIex: No such file or directory\n/usr/bin/ld: cannot find -lkmlbase: No such file or directory\n/usr/bin/ld: cannot find -lkmldom: No such file or directory\n/usr/bin/ld: cannot find -lkmlengine: No such file or directory\n/usr/bin/ld: cannot find -lspatialite: No such file or directory\n/usr/bin/ld: cannot find -lsqlite3: No such file or directory\n/usr/bin/ld: cannot find -lxerces-c: No such file or directory\n/usr/bin/ld: cannot find -lmysqlclient: No such file or directory\n/usr/bin/ld: cannot find -lodbc: No such file or directory\n/usr/bin/ld: cannot find -lfreexl: No such file or directory\n/usr/bin/ld: cannot find -logdi: No such file or directory\n/usr/bin/ld: cannot find -lexpat: No such file or directory\n/usr/bin/ld: cannot find -lgeos_c: No such file or directory\n/usr/bin/ld: cannot find -lproj: No such file or directory\n/usr/bin/ld: cannot find -ljson-c: No such file or directory\ncollect2: error: ld returned 1 exit status\nconfigure: Install failure: compilation and/or linkage problems.\nconfigure: error: GDALAllRegister not found in libgdal.\nERROR: configuration failed for package \xe2\x80\x98rgdal\xe2\x80\x99\n* removing \xe2\x80\x98/home/user/R/x86_64-redhat-linux-gnu-library/4.2/rgdal\xe2\x80\x99\nWarning in install.packages :\n Installation des Pakets \xe2\x80\x98rgdal\xe2\x80\x99 hatte Exit-Status ungleich 0\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
2690 次 |
| 最近记录: |