lib-xerces not found

lib-xerces not found

本文关键字:found not lib-xerces      更新时间:2023-10-16

我正在使用 xerces(http://xerces.apache.org) lib 来解析 C++ 中的 XML 文件,所以我下载了源代码,运行了一个 ./configure, make, make install,所以当我执行时g++ -o 解析器解析器.cpp我执行./parser,我得到:./parser:加载共享库时出错:libxerces-c-3.1.so:无法打开共享对象文件。没有这样的文件或目录。

当我搜索/usr/lib 或/lib 时,我找不到 libxerces-c-3.1.so 去了哪里,也找不到 libxerces-c-3.1.so 在哪里。有人知道我该如何解决这个问题吗?

您是否尝试运行 ldconfig 命令?LDCONFIG 示例我唯一能想到的是符号链接的一些问题,如果它已成功交叉链接。

相关问题 :https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s