我正在运行 12.10。
我正在尝试运行一个需要libglut.so.3. 我安装了freeglut3,我可以看到位于/usr/lib/x86_64-linux-gnu. 但是当我运行应用程序时,它告诉我它找不到库。
当我跑步时,ldconfig -v | grep glut我得到
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
libglut.so.3 -> libglut.so.3.9.0
Run Code Online (Sandbox Code Playgroud)
当它说路径被多次给出时是什么意思,这与为什么应用程序找不到库有什么关系?
我为我正在处理的库创建了一个源包。我debuild用来构建它,然后我可以使用dput.
现在我想设置它,以便我可以从 Jenkins 自动执行此操作。我遇到的主要问题是签署 .dsc 和 .changes 文件。我想做的是签署包裹gpg而不是这样debuild做。这样我就可以使用 gpg 选项自动签署文件--passphrase-fd 0。
于是我就用debuild与选项-uc和-us再ClearSign会处理这些文件gpg。但是当我这样做时,它会创建一个单独的.dsc.asc和source.changes.asc. 当我然后尝试上传时dput出现错误
Checking signature on .changes
gpg: no valid OpenPGP data found.
gpg: the signature could not be verified.
Please remember that the signature file (.sig or .asc)
should be the first file given on the command line.
Run Code Online (Sandbox Code Playgroud)
这似乎表明我应该将该.asc文件作为参数列出,dput但我无法让它工作。