Opened 5 years ago

Last modified 5 years ago

#5503 closed defect

Symbols not found and linker command failed errors during CLI build on MacOS — at Version 1

Reported by: coldphoenix Owned by:
Priority: Should Have Milestone: Alpha 24
Component: Build & Packages Keywords:
Cc: historic_bruno, coldphoenix Patch:

Description (last modified by coldphoenix)

Hey, folks. First time giving this build a shot, and while following the Build Instructions for Personal Use on macOS, the build fails and I get the following errors when building pyrogenisis (after executing "make -j3"):

==== Building pyrogenesis (release) ====
Creating obj/pyrogenesis_Release
main.cpp
Linking pyrogenesis
Undefined symbols for architecture x86_64:
  "_libintl_bindtextdomain", referenced from:
      __gnutls_global_init in libgnutls.a(global.o)
  "_libintl_dgettext", referenced from:
      _gnutls_certificate_verification_status_print in libgnutls.a(cert-cred.o)
      _gnutls_strerror in libgnutls.a(errors.o)
      __gnutls_ocsp_verify_status_to_str in libgnutls.a(ocsp.o)
      _gnutls_alert_get_name in libgnutls.a(alert.o)
      _gnutls_x509_crt_print in libgnutls.a(output.o)
      _print_oneline in libgnutls.a(output.o)
      _print_cert in libgnutls.a(output.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]: *** [../../../binaries/system/pyrogenesis] Error 1
make: *** [pyrogenesis] Error 2

This is just the trailing end snippet from the output.

What I'm using:

  • Xcode CLI tools: 10.2.1.0.1.1554506761
  • Xcode: 10.2.1
  • Python: 2.7.10
  • cmake: 3.15.0-rc4
  • Mac OS: Mojave (10.14.5)
  • MacBook Pro (Retina, 13-inch, Mid 2014), 3GHz i7 processor, 16GB RAM

I'm building from: https://svn.wildfiregames.com/public/ps/trunk/ Current revision: 22464

Any advice is appreciated. Let me know if any more info is needed.

Change History (1)

comment:1 by coldphoenix, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.