question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MacOS: ots(OpenType Sanitizer), brew install and make fails

See original GitHub issue

I’m trying to install the additional dependency ots.

ots builds fine for me on Ubuntu 18, but I haven’t been able to install on MacOS 10.11 by following the provided instructions.

First I try installing with HomeBrew 1.6.9 + xcode-select version 2343 and GNU Make 3.81, like so…

# install ots
brew tap bramstein/webfonttools;
brew update;
brew install ots --HEAD;

… and get the following error:

Last 15 lines from /Users/eli/Library/Logs/Homebrew/ots/03.make:
      ots::OTSContext::~OTSContext() in ots_testfuzz-ots-fuzzer.o
      ...
  "___ubsan_vptr_type_cache", referenced from:
      _LLVMFuzzerTestOneInput in ots_testfuzz-ots-fuzzer.o
      ots::ExpandingMemoryStream::Seek(long long) in ots_testfuzz-ots-fuzzer.o
      ots::ExpandingMemoryStream::~ExpandingMemoryStream() in ots_testfuzz-ots-fuzzer.o
      ots::OTSContext::~OTSContext() in ots_testfuzz-ots-fuzzer.o
      _main in ots_testfuzz-ots-fuzzer.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::~basic_ifstream() in ots_testfuzz-ots-fuzzer.o
      ots::OTSContext::~OTSContext() in ots_testfuzz-ots-fuzzer.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [ots-testfuzz] Error 1
make: *** [all] Error 2

At this point, I try installing manually as is described in the ots readme here, but get the same error.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
khaledhosnycommented, Jun 26, 2018

You can also try the OSX binaries I provide on GitHub releases.

0reactions
felipesanchescommented, Jun 27, 2018

if you do, then please open a complementary pull request for that.

Thanks, @eliheuer!

Read more comments on GitHub >

github_iconTop Results From Across the Web

homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
Error with "brew install openblas" in macOS - Super User
Error : You are using macOS 10.13. We (and Apple) do not provide support for this old version. You will encounter build failures...
Read more >
Failed to decode downloaded font, OTS parsing error
NOTE: The only thing I had to do was to add the otf in the original AWS Amplify config because it was missing....
Read more >
How to Download and Install Fonts on a Mac: A Simple Guide
You can easily do this manually by copying font files to Library/Fonts. Unfortunately, starting from OS X 10.7 Lion, the Library folder and...
Read more >
Macbook pro keyboard not working at login
Diagnose System Management Controller. Repair Wireless Keyboard through the Computer. Remove recent apps. If there are updates available, install them Also, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found