> Tomi and Felipe giving me snippets to configure & compile.

Hey

Ruby bindings is what I'm want to have, and I am not (at all) fluent in C but:

configure via

CFLAGS=-I/opt/homebrew/Cellar/talloc/2.4.2/include 
LDFLAGS='-L/opt/homebrew/Cellar/talloc/2.4.2/lib -ltalloc' ./config 

succeded.

Then I try 

make -C bindings/ruby CFLAGS='-g -O2 -pipe -fno-plt -fPIC
-I/opt/homebrew/Cellar/talloc/2.4.2/include' LIBPATH='-L. -L/usr/lib
-L/opt/homebrew/Cellar/talloc/2.4.2/lib'

and I get

sudo make -C bindings/ruby CFLAGS='-g -O2 -pipe -fno-plt -fPIC
-I/opt/homebrew/Cellar/talloc/2.4.2/include' LIBPATH='-L. -L/usr/lib
-L/opt/homebrew/Cellar/talloc/2.4.2/lib'
linking shared-object notmuch.bundle
Undefined symbols for architecture arm64:
  "__talloc_free", referenced from:
      _notmuch_rb_object_free in database.o
      _notmuch_rb_object_free in directory.o
      _notmuch_rb_object_free in init.o
      _notmuch_rb_object_free in message.o
      _notmuch_rb_object_free in messages.o
      _notmuch_rb_object_free in query.o
      _notmuch_rb_object_free in thread.o
      ...


—-
Michał 
https://crys.site
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to