我正在尝试在 Ubuntu 14.04 上构建 32 位 Qt 4.8.6 库。我已安装了其他库
sudo apt-get install libx32gcc-4.8-dev
sudo apt-get install libc6-dev-i386
sudo apt-get install lib32z1
sudo apt-get install lib32ncurses5
sudo apt-get install lib32bz2-1.0
sudo apt-get install g++-multilib
完成配置后,我运行构建:
./configure -platform linux-g++-32
make
构建崩溃并出现以下错误:
In file included from /usr/include/openssl/asn1.h:63:0,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:110:
/usr/include/openssl/e_os2.h:56:33: fatal error: openssl/opensslconf.h: `No such file or directory`
#include <openssl/opensslconf.h>
^
compilation terminated.
我有最新版本的 libssl-dev 库。请帮我修复这个编译问题。