Skip to content

Instantly share code, notes, and snippets.

@davidsnyder
Created October 25, 2018 17:22
Show Gist options
  • Save davidsnyder/2224f20a2378af399ac348a1f77602e0 to your computer and use it in GitHub Desktop.
Save davidsnyder/2224f20a2378af399ac348a1f77602e0 to your computer and use it in GitHub Desktop.
davidsnyder@loki: mle$ brew info pcre
pcre: stable 8.42 (bottled), HEAD
Perl compatible regular expressions library
https://www.pcre.org/
/usr/local/Cellar/pcre/8.42 (204 files, 5.3MB) *
Poured from bottle on 2018-09-17 at 15:51:25
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pcre.rb
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 126,248 (30 days), 358,225 (90 days), 1,606,480 (365 days)
install_on_request: 3,369 (30 days), 9,975 (90 days), 47,490 (365 days)
build_error: 0 (30 days)
davidsnyder@loki: mle$ make
export CFLAGS LDLIBS LDFLAGS
/Library/Developer/CommandLineTools/usr/bin/make -C mlbuf
cc -shared -Wl,-install_name,libmlbuf.so.1 -o libmlbuf.so.1.0.0 bline.o buffer.o mark.o utf8.o util.o
Undefined symbols for architecture x86_64:
"_pcre_compile", referenced from:
_srule_new_single in buffer.o
_srule_new_multi in buffer.o
_mark_find_re in mark.o
"_pcre_exec", referenced from:
__buffer_bline_apply_style_single in buffer.o
__srule_multi_find in buffer.o
_mark_find_next_cre_matchfn in mark.o
"_pcre_free", referenced from:
_srule_destroy in buffer.o
_mark_find_re in mark.o
"_pcre_free_study", referenced from:
_srule_destroy in buffer.o
"_pcre_study", referenced from:
_srule_new_single in buffer.o
_srule_new_multi in buffer.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]: *** [libmlbuf.so] Error 1
make: *** [mlbuf/libmlbuf.a] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment