> /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql8/mysql8/work/build/archive_output_directory/libclientlib.a(libmysql.cc.o)
>  malformed object (unknown load command 2)

This error means the tools being used to work with the objects don't understand 
the format they are in. There is a mismatch because the compiler being used, 
clang 7, is much newer than the tools (these are the stock cctools on 10.6.8, 
about 10 years out of date now). 
To fix this, you have to install new tools (via macports cctools port), and 
then force them to be used for the build. This is always possible, one way or 
another, but can take some tinkering, dependiang on the build system.

K

Reply via email to