Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Created September 5, 2020 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroyuki-sato/a43ec17894f84c73b9168ebfdb01f616 to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/a43ec17894f84c73b9168ebfdb01f616 to your computer and use it in GitHub Desktop.
ucm linking error.
libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup \
-o .libs/libucm.0.dylib event/.libs/libucm_la-event.o \
malloc/.libs/libucm_la-malloc_hook.o mmap/.libs/libucm_la-install.o \
util/.libs/libucm_la-replace.o util/.libs/libucm_la-log.o \
util/.libs/libucm_la-reloc.o util/.libs/libucm_la-sys.o \
bistro/.libs/libucm_la-bistro.o \
bistro/.libs/libucm_la-bistro_x86_64.o \
bistro/.libs/libucm_la-bistro_aarch64.o \
bistro/.libs/libucm_la-bistro_ppc64.o \
ptmalloc286/.libs/libucm_la-malloc.o \
-L/Users/hsato/OpenProjects/openucx/progress64 \
-lprogress64 -ldl -lintl -O3 -g \
-install_name /usr/lib/libucm.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
ld: warning: -undefined dynamic_lookup is incompatible with dyld share cache
ld: warning: static initializer found in 'event/.libs/libucm_la-event.o'. \
Use -no_inits to make this an error. Use -no_warn_inits to suppress warning
ld: warning: static initializer found in 'malloc/.libs/libucm_la-malloc_hook.o'. \
Use -no_inits to make this an error. Use -no_warn_inits to suppress warning
ld: warning: static initializer found in 'util/.libs/libucm_la-replace.o'. \
Use -no_inits to make this an error. Use -no_warn_inits to suppress warning
ld: warning: static initializer found in 'util/.libs/libucm_la-log.o'. \
Use -no_inits to make this an error. Use -no_warn_inits to suppress warning
ld: warning: invalid -install_name (/usr/local/opt/gettext/lib/libintl.8.dylib) in dependent dylib (/usr/local/lib/libintl.dylib). Dylibs/frameworks which might go in dyld shared cache cannot link with dylibs that won't be in the shared cache
ld: -undefined dynamic_lookup cannot be used to find '_ucs_fatal_error_format' in dylib in dyld shared cache for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment