好像不是版本,这里有一个示例名称:libcurl.so.4.3.0 版本 7.40
me@pc:/somefirmware/extracted/lib$ strings libcurl.so.4.3.0 | grep -i "libcurl"
libcurl.so.4
# This file was generated by libcurl! Edit at your own risk.
# Fatal libcurl error
Protocol "%s" not supported or disabled in libcurl
CLIENT libcurl 7.40.0
CLIENT libcurl 7.40.0
CLIENT libcurl 7.40.0
libcurl/7.40.0
Unrecognized content encoding type. libcurl understands `identity', `deflate' and `gzip' content encodings.
A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
A libcurl function was given a bad argument
An unknown option was passed in to libcurl
libcurl is now using a weak random seed!
第二个问题是如何获取正确的版本号,但我觉得这可能是不可能的(在 100% 的情况下都无法做到)。在这里,您可以使用字符串获取它,但在其他库中,它将产生 10 个不同的版本,例如