Premium darren060489 0 Posted January 10 Premium Share Posted January 10 Hy guy. I have a problem with complie. on virtualbox works all great but on vps have i this issue ld: error: undefined symbol: SSL_get_peer_certificate > referenced by openssl.c > >>> openssl.c.o:(ma_tls_get_peer_cert_info) in archive /usr/local/lib/mysql/libmysqlclient.a > >>> referenced by openssl.c > >>> openssl.c.o:(ma_tls_get_finger_print) in archive /usr/local/lib/mysql/libmysqlclient.a > >>> referenced by openssl.c > >>> openssl.c.o:(ma_tls_verify_server_cert) in archive /usr/local/lib/mysql/libmysqlclient.a > >>> did you mean: SSL_get0_peer_certificate > >>> defined in: /usr/local/lib/libssl.so > clang++: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [Makefile:196: ../game_r41024] Error 1 > gmake[1]: Leaving directory '/home/source-server/Srcs/Server/game/src' Link to comment Share on other sites More sharing options...
Punszz 1 Posted January 10 Share Posted January 10 Add in makefile game LIBS += -lssl Link to comment Share on other sites More sharing options...
Active Member Solution Kuqsal 191 Posted January 10 Active Member Solution Share Posted January 10 1.Step: pkg remove openssl 2.Step: pkg install openssl111 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now