我在x64 Arch上使用Gracenote编写并运行了一个程序,使用cmake/gcc,没有问题。现在,当我编译并在arm Debian上运行时,会得到以下错误:
/src/tracker-linux: error while loading shared libraries: libgnsdk_musicid.so: cannot open shared object file: No such file or directory
我已经验证了这个文件是否存在,并在/usr/lib中进行了符号链接,而strace似乎表明找到了该文件(参见下面)。我还应该试试什么?
ldd产出:
libgn
运行其他人开发的应用程序时,得到以下错误
./appln: error while loading shared libraries: libxerces-c.so.28: cannot open shared object file: No such file or directory
如果我运行ldd命令:
# ldd appln
linux-gate.so.1 => (0x00e20000)
libdl.so.2 => /lib/libdl.so.2 (0x00a61000)
libxerces-c.so.28 => not found
我已经在当前文件夹中有libx
我试过这样做:
patchelf --set-interpreter ../lib/ld-linux-x86-64.so.2 "${APPDIR}/usr/bin/myapp"
所以我有这个:
readelf -l AppDir/usr/bin/myapp
...
[Requesting program interpreter: ../lib/ld-linux-x86-64.so.2]
但是看起来它不喜欢相对路径,因为我得到了错误:
$ AppDir/usr/bin/myapp
bash: AppDir/usr/bin/myapp: No such file or dire
我正在尝试运行动态可执行文件(xxx),但收到以下错误:
$ ./xxx
./xxx: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./xxx)
./xxx: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by ./xxx)
作为2.12版系统中的libc,对于我的二进制文件来说太旧了。
我已经复制了libc的2.27版,它可以与这个特定的二进制文件一起工作。如果我尝试使用LD_PRELOAD运行它:
$ LD_PRELOAD=
误差
./cas_seq.fastasim_1A: error while loading shared libraries: libaccapi.so: cannot open shared object file: No such file or directory
结果
linux-vdso.so.1 (0x00007ffefadf6000)
libaccapi.so => not found
libaccg.so => not found
libaccn.so => not found
libaccg2.so => not found
libdl.so.2 =&
我希望实现POSIX2008函数
int faccessat(int dirfd, const char *pathname, int mode, int flags)
在Mac OS X上。根据该函数的Linux手册页:
If the pathname given in pathname is relative, then it is interpreted relative
to the directory referred to by the file descriptor dirfd (rather than
relative to the current worki
我在试着安装这个叫做Skedler的软件。他们的文档提到了GLIBCXX库依赖项,但是他们不需要提供安装说明。
GLIBCXX libraries
Skedler has dependency on libstdc++ library.
Following are the GLIBCXX versions the code depends on
libstdc++.so.6 (GLIBCXX_3.4.9) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.15) =&g
我把我的ubuntu从16.04更新到20.04,Gdal (地理空间数据库)停止工作。每当我尝试使用它(使用gdalinfo、C++或python库或Qgis)时,我都会得到以下错误:
error while loading shared libraries: libhdf5_serial.so.10: cannot open shared object file: No such file or directory
在进行了全局升级/更新之后,我尝试卸载所有与gdal相关的内容,并遵循这个帖子,但是我得到了相同的错误。
存储库"http://ppa.launchpad.net/ub
linux-image-server depends on linux-image-3.2.0-39-generic; however:
Package linux-image-3.2.0-39-generic is not installed.
dpkg: error processing linux-image-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a follo
这是
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic
Use 'sudo apt autoremove