设置了 LIBS += -lcurl \ -lssl \ -ldl \ -lcrypto \ $$PWD/libfetion/lib/libfetion_32.a但编译还是出现以下问题/usr/bin/ld: ./libfetion/lib/libfetion_32.a(ftion_login_help.o): undefined reference to symbol 'BN_new' /usr/bin/ld: note: 'BN_new' is defined in DSO /usr/lib/libcrypto.so so try adding it to the linker command line /usr/lib/libcrypto.so: could not read symbols: 无效的操作 collect2: 错误:ld 返回 1 make: *** [linux-fetion] 错误 1
后来在 $$PWD/libfetion/lib/libfetion_32.a后面再加上 -lcurl -lcrypto 就能正确编译了
想知道,为什么会这样呀,想知道qt的库连接