我已经使用 suse 很长时间了。我在一台新电脑上安装了 ubuntu 18.04,但它的存储库中缺少 wavegain 包。所以我尝试从下载的 rpm 安装 wavegain。
root@1201HA:/home/user/Downloads# rpm -i wavegain-1.3.1-3.13.x86_64.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
warning: wavegain-1.3.1-3.13.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f23c6aa3: NOKEY
error: Failed dependencies:
libc.so.6()(64bit) is needed by wavegain-1.3.1-3.13.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by wavegain...
libc.so.6(GLIBC_2.2.5)(64bit) is needed by wavegain...
libc.so.6(GLIBC_2.3.4)(64bit) is needed by wavegain...
libc.so.6(GLIBC_2.4)(64bit) is needed by wavegain...
libc.so.6(GLIBC_2.7)(64bit) is needed by wavegain...
libm.so.6()(64bit) is needed by wavegain-1.3.1-3.13.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by wavegain...
我有一块装有 suse 和 wavegain 的旧硬盘。我的目的是将 wavegain 及其所有依赖库复制到 /home/user/bin。但我的 suse 上没有列出的库?这是怎么回事?
我的问题是:是否可以在单独的目录中使用 wavegain 和相关库?Wavegain 和相关库在同一个目录中?
答案1
将其添加至您的路径!
- 更改为您的主目录。
cd $HOME
- 打开.bashrc 文件。
- 将以下行添加到文件。路径应为包含
libc.so.6
依赖项的目录。
export PATH=/path/to/dir:$PATH
- 保存文件并退出。