为什么 Bluecove 需要安装 libbluetooth-dev 包到 运行

Why does Bluecove require libbluetooth-dev package installed to run

我正在设置 Bluecove on an Ubuntu system and I see buried down in the wiki for the Linux BlueZ stack that it requires a dev package to be installed for it to work correctly.

我知道只有当我需要头文件来编译我自己的 C/C++ 代码以使用 Bluecove 本机库时才需要开发包。如果我只编译 Java 代码,那么肯定不需要开发包吗? (它实际上被视为使用 Bluecove 本机库的应用程序)。这是正确的吗?

似乎软件包 libbluetooth3 在安装时没有将 .so link 包含到特定的库中。 (使用 dpkg-query)。

Bluecove JAR 包含针对 .so 文件link编辑的 JNI 库(使用 ldconfig 确认)。我发现只有 libbluetooth-dev 包含 .so 所以 for 将是外行让 Bluecove 工作的唯一方法。

我通过手动创建 soft-link 解决了这个问题,安装了软件包 libbluetooth3