undefined reference to `psl_get_version'
undefined reference to `psl_is_cookie_domain_acceptable
undefined reference to `psl_free
vim libcurl/configure 搜索psl,可以找到相关的PSL选项
--without-libpsl即可。
./configure CPPFLAGS="-fPIC" --prefix=$(LIBCURL_STATIC) --disable-shared --enable-static --disable-ldap --disable-ldaps --without-librtmp --without-libpsl --with-openssl=$(OPENSSL10X_STATIC);
本文介绍了如何在vimlibcurl的configure过程中处理PSL(Public Suffix List)库,包括如何解决`psl_get_version`、`psl_is_cookie_domain_acceptable`和`psl_free`的undefined reference问题,以及如何通过`--without-libpsl`选项禁用。详细步骤涉及静态链接和OpenSSL设置。

2万+

被折叠的 条评论
为什么被折叠?



