我在Hpux机器上构建我的64位代码时面临下面的问题,同样适用于32位。
aCC -AA -mt +DA2.0W ../obj/batch.o ../obj/DataFileReader.o \
-L../../../../lib -lg1client -lopentop-accmt -lPocoXML -lcrypto -lssl -o ../bin/batch
[04:09:52][com.g1.cdq:g1clientSDK] [exec] ld: Unsatisfied symbol "COMP_expand_block" \
in file ../../../../lib/libssl.a[s3_pkt.o]
[04:09:52][com.g1.cdq:g1clientSDK] [exec] ld: Unsatisfied symbol "OPENSSL_DIR_end" \
in file ../../../../lib/libssl.a[ssl_cert.o]
我使用以下配置OpenSSL:
./Configure hpux64-parisc2-cc --openssldir=/san5/hpux/cdqp/hpx5/clientsdklatest/hpunix10.1/64/openssl/install64
请建议