Opened 3 years ago
Last modified 3 years ago
#63665 closed defect
notmuch @0.34 build fails with "ld: symbol(s) not found for architecture x86_64" — at Initial Version
Reported by: | rseichter (Ralph Seichter) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | notmuch |
Description
I am in the process of bumping the mail/notmuch port to version 0.34 and see the following error messages:
cd bindings/python-cffi && \ /opt/local/bin/python3.9 setup.py build --build-lib build/stage && \ mkdir -p build/stage/tests && cp tests/*.py build/stage/tests ld: warning: dylib (/opt/local/lib/libgmime-3.0.dylib) was built for newer macOS version (11.2) than being linked (11.0) ld: warning: dylib (/opt/local/lib/libxapian.dylib) was built for newer macOS version (11.2) than being linked (11.0) Undefined symbols for architecture x86_64: "_notmuch_query_create_with_syntax", referenced from: _print_count in notmuch-count.o _notmuch_database_dump in notmuch-dump.o _notmuch_reindex_command in notmuch-reindex.o _notmuch_reply_command in notmuch-reply.o __notmuch_search_prepare in notmuch-search.o _notmuch_show_command in notmuch-show.o _tag_query in notmuch-tag.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: *** [notmuch-shared] Error 1
Any suggestions regarding how best to deal with this issue? I found a similar ticket https://trac.macports.org/ticket/63612 for "quassel", but I am unsure if this is something that can be fixed in notmuch's Portfile or requires an upstream change.
Note: See
TracTickets for help on using
tickets.