Jump to content

Missing file from MySQL?


Recommended Posts

Hi. When I tried to recompile db I did these commands and I got this error. I tried downloading the typelib.h from the internet but then I got another message with another file missing. 

What should I do in this situation?

Any help would be greatly appreciated!

 

Error message:

root@:~ # cd /usr/metin2/src/server/db/src
root@:/usr/metin2/src/server/db/src # gmake clean
root@:/usr/metin2/src/server/db/src # gmake -j9
compile Config.cpp
gmake: *** No rule to make target '/usr/local/include/mysql/typelib.h', needed by '.obj/NetBase.o'.  Stop.
gmake: *** Waiting for unfinished jobs....

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • Active Member
3 hours ago, Henry6767 said:

Hi. When I tried to recompile db I did these commands and I got this error. I tried downloading the typelib.h from the internet but then I got another message with another file missing. 

What should I do in this situation?

Any help would be greatly appreciated!

 

Error message:

root@:~ # cd /usr/metin2/src/server/db/src
root@:/usr/metin2/src/server/db/src # gmake clean
root@:/usr/metin2/src/server/db/src # gmake -j9
compile Config.cpp
gmake: *** No rule to make target '/usr/local/include/mysql/typelib.h', needed by '.obj/NetBase.o'.  Stop.
gmake: *** Waiting for unfinished jobs....

gmake dep

and try again

  • Love 1
Link to comment
Share on other sites

5 hours ago, Ulas said:

gmake dep

and try again

After game dep, I typed gmake clean and then gmake -j9. It started to compile but at the end I go these error messages

 

linking ../db....
ld: error: undefined symbol: ZSTD_freeCCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(mysql_compress_context_deinit(mysql_compress_context*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_freeDCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(mysql_compress_context_deinit(mysql_compress_context*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_createCCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_compressBound
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_compressCCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_isError
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(my_uncompress(mysql_compress_context*, unsigned char*, unsigned int, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_createDCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(my_uncompress(mysql_compress_context*, unsigned char*, unsigned int, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_decompressDCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(my_uncompress(mysql_compress_context*, unsigned char*, unsigned int, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:50: ../db] Error 1

How should I fix these?

Link to comment
Share on other sites

  • Active Member
6 hours ago, Henry6767 said:

After game dep, I typed gmake clean and then gmake -j9. It started to compile but at the end I go these error messages

 

linking ../db....
ld: error: undefined symbol: ZSTD_freeCCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(mysql_compress_context_deinit(mysql_compress_context*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_freeDCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(mysql_compress_context_deinit(mysql_compress_context*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_createCCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_compressBound
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_compressCCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_isError
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned int*, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(my_uncompress(mysql_compress_context*, unsigned char*, unsigned int, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_createDCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(my_uncompress(mysql_compress_context*, unsigned char*, unsigned int, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a

ld: error: undefined symbol: ZSTD_decompressDCtx
>>> referenced by my_compress.cc
>>>               my_compress.cc.o:(my_uncompress(mysql_compress_context*, unsigned char*, unsigned int, unsigned int*)) in archive /usr/local/lib/mysql/libmysqlclient.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:50: ../db] Error 1

How should I fix these?

Can you add me Ulas#8871  I can check your bsd

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.