gpt4 book ai didi

linux - 如何在 openSUSE 11.3 上安装 libgdal?

转载 作者:太空宇宙 更新时间:2023-11-04 11:29:41 25 4
gpt4 key购买 nike

libgdal

linux-y3pi:~ # rpm -Uvh libgdal1-1.8.0-1.59.src.rpm 
warning: libgdal1-1.8.0-1.59.src.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
1:libgdal1 ########################################### [100%]
linux-y3pi:~ #

libgdal-devel

linux-y3pi:~ # rpm -Uvh libgdal-devel-1.8.0-1.59.x86_64.rpm 
warning: libgdal-devel-1.8.0-1.59.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
error: Failed dependencies:
libgdal1 = 1.8.0-1.59 is needed by libgdal-devel-1.8.0-1.59.x86_64

当然 libgdal-devel 也需要其他依赖项,但为什么它不能看到 libgdal

linux-y3pi:~ # whereis libgdal
libgdal: /usr/local/lib/libgdal.la /usr/local/lib/libgdal.a /usr/local/lib/libgdal.so

当然,这不在路径中:

linux-y3pi:~ # $PATH
bash: /home/anisha/qtsdk-2010.05/qt/bin/:/home/anisha/qtsdk-2010.05/bin:/home/anisha/qtsdk-2010.05/qt/bin:/home/anisha/qtsdk-2010.05/qt/bin/:/home/anisha/qtsdk-2010.05/bin:/usr/lib64/mpi/gcc/openmpi/bin:/home/anisha/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games: No such file or directory

我做了:export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH 作为 root,没有帮助。
我现在在哪里安装这个 libgdal

最佳答案

# rpm -Uvh libgdal1-1.8.0-1.59.src.rpm 

“src”表示它是源 RPM。您需要找到二进制 RPM,特别是(可能)x86_64 RPM。它将具有相似的名称,只是它会改为“x86_64”。

关于linux - 如何在 openSUSE 11.3 上安装 libgdal?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12155288/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com