Open ghs01023 opened 11 months ago
On 2023-08-22 16:59, George wrote:
我用pyinstaller打包后运行提示共享库缺失libsvm.so.3 no
Can you please show more details about what you want to do and how the error occurs? Thanks
such file 我找到了解决方法:把svm.py里CDLL里的路径 libsvm = CDLL(path.join(dirname, '../../libsvm.so.3')) 换成了自己创建的一个路径/home/abc/libsvm.so.3 然后重新打包一次就可以找到这个共享库了,作者有更好的解决办法吗?希望后面的人不会再遇到这个问题
-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you are subscribed to this thread.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/cjlin1/libsvm/issues/202", "url": "https://github.com/cjlin1/libsvm/issues/202", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/202 [2] https://github.com/notifications/unsubscribe-auth/ABI3BHQTLPTN5EJXE43Q5GDXWSULHANCNFSM6AAAAAA3Z4JKZM
我用pyinstaller打包后运行提示共享库缺失libsvm.so.3 no such file 我找到了解决方法:把svm.py里CDLL里的路径 libsvm = CDLL(path.join(dirname, '../../libsvm.so.3')) 换成了自己创建的一个路径/home/abc/libsvm.so.3 然后重新打包一次就可以找到这个共享库了,作者有更好的解决办法吗?希望后面的人不会再遇到这个问题