Opened 5 years ago
Closed 5 years ago
#63222 closed defect (fixed)
libmemcache @1.4.0.rc2: error: undefined symbols for architecture x86_64
| Reported by: | cooljeanius (Eric Gallager) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.7.1 |
| Keywords: | Cc: | ||
| Port: | libmemcache |
Description
This might be that same libtool bug that's been mentioned in tickets for other ports:
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/clang -O3 -std=c99 -Wall -pipe -Wpacked -Wdisabled-optimization -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -o libmemcache.la -rpath /opt/local/lib -version-info 4:0:4 memcache.lo buffer.lo
/usr/bin/clang -dynamiclib -o .libs/libmemcache.0.4.0.dylib .libs/memcache.o .libs/buffer.o -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -install_name /opt/local/lib/libmemcache.0.dylib -Wl,-compatibility_version -Wl,5 -Wl,-current_version -Wl,5.0
Undefined symbols for architecture x86_64:
"_mcm_buf_len", referenced from:
_mcm_server_send_cmd in memcache.o
"_mcm_buf_remain_off", referenced from:
_mcm_get_line in memcache.o
_mcm_fetch_cmd in memcache.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[2]: *** [libmemcache.la] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmemcache/libmemcache/work/libmemcache-1.4.0.rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmemcache/libmemcache/work/libmemcache-1.4.0.rc2'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmemcache/libmemcache/work/libmemcache-1.4.0.rc2'
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmemcache/libmemcache/work/libmemcache-1.4.0.rc2" && /usr/bin/make -j16 -w all
Exit code: 2
Error: Failed to build libmemcache: command execution failed
DEBUG: Error code: CHILDSTATUS 9444 2
Attachments (2)
Change History (3)
Changed 5 years ago by cooljeanius (Eric Gallager)
| Attachment: | libmemcache_main.log added |
|---|
Changed 5 years ago by cooljeanius (Eric Gallager)
| Attachment: | libmemcache_config.log added |
|---|
config.log for libmemcache
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | set to ryandesign |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

main.log for libmemcache