Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » mysqlclient compilation error
mysqlclient compilation error [message #57581] Sat, 02 October 2021 14:07 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

on Mojave my package compile and run perfectly with a 6 months old U++ distro.

Today I have installed Catalina and setup it as done with Mojave but with the latest U++.
Now I have the following error
Linking...
Undefined symbols for architecture x86_64:
  "_ZSTD_compressBound", referenced from:
      zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned long*, unsigned long*) in libmysqlclient.a(my_c
    ompress.cc.o)
  "_ZSTD_compressCCtx", referenced from:
      zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned long*, unsigned long*) in libmysqlclient.a(my_c
    ompress.cc.o)
  "_ZSTD_createCCtx", referenced from:
      zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned long*, unsigned long*) in libmysqlclient.a(my_c
    ompress.cc.o)
  "_ZSTD_createDCtx", referenced from:
      my_uncompress(mysql_compress_context*, unsigned char*, unsigned long, unsigned long*) in libmysqlclient.a(my_compress.cc.o)
  "_ZSTD_decompressDCtx", referenced from:
      my_uncompress(mysql_compress_context*, unsigned char*, unsigned long, unsigned long*) in libmysqlclient.a(my_compress.cc.o)
  "_ZSTD_freeCCtx", referenced from:
      mysql_compress_context_deinit(mysql_compress_context*) in libmysqlclient.a(my_compress.cc.o)
  "_ZSTD_freeDCtx", referenced from:
      mysql_compress_context_deinit(mysql_compress_context*) in libmysqlclient.a(my_compress.cc.o)
  "_ZSTD_isError", referenced from:
      zstd_compress_alloc(mysql_zstd_compress_context*, unsigned char const*, unsigned long*, unsigned long*) in libmysqlclient.a(my_c
    ompress.cc.o)
      my_uncompress(mysql_compress_context*, unsigned char*, unsigned long, unsigned long*) in libmysqlclient.a(my_compress.cc.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


I have also noticed that the /opt folder is empty. What zstd is? Is it related to mysql in some way?
Any suggestion?

Thanks a lot,
Luigi
 
Read Message
Read Message
Read Message
Previous Topic: Issues with cross-compilation for MacOS on Linux
Next Topic: Application crush
Goto Forum:
  


Current Time: Wed Apr 24 22:10:02 CEST 2024

Total time taken to generate the page: 0.03078 seconds