Undefined symbols for architecture x86_64 on jsonnet submission
Steven Smith
steve.t.smith at gmail.com
Fri Nov 22 21:27:26 UTC 2019
The build for submission jsonnet <https://github.com/macports/macports-ports/pull/5862 <https://github.com/macports/macports-ports/pull/5862>> is failing with error:
> Undefined symbols for architecture x86_64
I don’t know how to address this and would appreciate any help—this is a necessary dependency in a larger NLP transformer port.
Casting around the internet, others are reporting similar errors, along with some hacky fixes that don’t work here:
https://github.com/anguslees/rust-jsonnet/issues/2 <https://github.com/anguslees/rust-jsonnet/issues/2>
https://github.com/nlohmann/json/issues/285#issuecomment-348090484 <https://github.com/nlohmann/json/issues/285#issuecomment-348090484>
My best guess now is that it’s some MacPorts compile- or link-time flag setting that’s causing this issue.
See the entire build log at: https://paste.macports.org/db560da152fd <https://paste.macports.org/db560da152fd>
> Undefined symbols for architecture x86_64:
> "_jsonnet_destroy", referenced from:
> jsonnet::Jsonnet::~Jsonnet() in libjsonnet++.cpp.o
> jsonnet::Jsonnet::~Jsonnet() in libjsonnet++.cpp.o
> "_jsonnet_evaluate_file", referenced from:
> jsonnet::Jsonnet::evaluateFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in libjsonnet++.cpp.o
> …
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191122/9ab8d072/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191122/9ab8d072/attachment.bin>
More information about the macports-dev
mailing list