Skip to content

Fix build script under os x#51

Merged
aothms merged 1 commit into
IfcOpenShell:masterfrom
shsteven:osx_build_fix
Mar 23, 2016
Merged

Fix build script under os x#51
aothms merged 1 commit into
IfcOpenShell:masterfrom
shsteven:osx_build_fix

Conversation

@shsteven

Copy link
Copy Markdown

Building under OS X El Cap (10.11) fails with the follow error:

Undefined symbols for architecture x86_64:
  "_lzma_auto_decoder", referenced from:
      _xz_head in libxml2.a(xzlib.o)
  "_lzma_code", referenced from:
      _xz_decomp in libxml2.a(xzlib.o)
  "_lzma_end", referenced from:
      ___libxml2_xzclose in libxml2.a(xzlib.o)
  "_lzma_properties_decode", referenced from:
      _is_format_lzma in libxml2.a(xzlib.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Fixed the issue by disabling lzma when building libxml.

@aothms

aothms commented Mar 23, 2016

Copy link
Copy Markdown
Member

Thanks! Good catch!

@aothms aothms merged commit e1bb6c9 into IfcOpenShell:master Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants