我正在尝试加载共享库,但是在目录加载器中找不到它的.so文件,所以我想设置一个环境dir。$ ls # (current dir is bindir)$ path_to_dir=/home/user/bindirSEARCH_DIR("=/lib/x86_64-linux-gnu")
SEARCH_DIR(
我需要一些第三方c库导入到一个低级模块中。我在跟踪。它说,find_library()应该帮助我找到这样的库,不包括任何lib前缀和.so后缀。code返回:OSError: spcm_linux.so: cannot open sharedobject file: No such file or directory/usr/lib