[mysql8] build error on 10.6 Snow Leopard i386

Ken Cunningham ken.cunningham.webuse at gmail.com
Fri Aug 16 16:43:28 UTC 2019


> /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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190816/9d33ccac/attachment.html>


More information about the macports-users mailing list