Merhabalar,
marty sama alt yapısı kullanıyorum game build ederken
linking ../game_r41057 ...
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): undefined reference to symbol 'EVP_aes_128_cfb1'
//usr/local/lib/libcrypto.so.9: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:161: ../game_r41057] Error 1
Bu hatayı alıyorum hatayı bir forumda adını vermek istemedigim birisi şu şekilde çözüldü marty sama tarafından demiş fakat ben bunu nereye ekleyecegim bir yardımcmı olur musunuz
Fixed, thanks to martysama!
Solution:
diff --git a/Srcs/Server/db/src/Makefile b/Srcs/Server/db/src/Makefile
index 2ad6e63..a4b39b9 100644
--- a/Srcs/Server/db/src/Makefile
+++ b/Srcs/Server/db/src/Makefile
@@ -45,6 +45,9 @@ LIBDIR += -I../../../Extern/lib
LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib
LIBS += -lthecore -lsql -lpoly -lgame -lm
+# OpenSSL
+LIBS += -lssl -lcrypto
+
# PROJECT_SRC_FILES BEGIN
CPPFILE = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp \
Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp \
diff --git a/Srcs/Server/game/src/Makefile b/Srcs/Server/game/src/Makefile
index b173c7c..4ea5a5e 100644
--- a/Srcs/Server/game/src/Makefile
+++ b/Srcs/Server/game/src/Makefile
@@ -90,7 +90,7 @@ endif
# OpenSSL
INCDIR += -I/usr/include
-LIBS += -lssl
+LIBS += -lssl -lcrypto
# LIBS += /usr/lib/libssl.a
# Lua
marty sama alt yapısı kullanıyorum game build ederken
linking ../game_r41057 ...
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): undefined reference to symbol 'EVP_aes_128_cfb1'
//usr/local/lib/libcrypto.so.9: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:161: ../game_r41057] Error 1
Bu hatayı alıyorum hatayı bir forumda adını vermek istemedigim birisi şu şekilde çözüldü marty sama tarafından demiş fakat ben bunu nereye ekleyecegim bir yardımcmı olur musunuz
Fixed, thanks to martysama!
Solution:
diff --git a/Srcs/Server/db/src/Makefile b/Srcs/Server/db/src/Makefile
index 2ad6e63..a4b39b9 100644
--- a/Srcs/Server/db/src/Makefile
+++ b/Srcs/Server/db/src/Makefile
@@ -45,6 +45,9 @@ LIBDIR += -I../../../Extern/lib
LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib
LIBS += -lthecore -lsql -lpoly -lgame -lm
+# OpenSSL
+LIBS += -lssl -lcrypto
+
# PROJECT_SRC_FILES BEGIN
CPPFILE = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp \
Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp \
diff --git a/Srcs/Server/game/src/Makefile b/Srcs/Server/game/src/Makefile
index b173c7c..4ea5a5e 100644
--- a/Srcs/Server/game/src/Makefile
+++ b/Srcs/Server/game/src/Makefile
@@ -90,7 +90,7 @@ endif
# OpenSSL
INCDIR += -I/usr/include
-LIBS += -lssl
+LIBS += -lssl -lcrypto
# LIBS += /usr/lib/libssl.a
# Lua