Why Nostr? What is Njump?
2022-08-08 22:26:12

unclebobmartin on Nostr: #[1] #[2] I'm trying to build nostril, and doing something wrong. I built secp256k1 ...

I'm trying to build nostril, and doing something wrong. I built secp256k1 with all the modules enabled. And then I built nostril. It compiles and links, but then gives me a dynamic linking error when I run it.

>./nostril --sec deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef --content "hi"
dyld: lazy symbol binding failed: Symbol not found: _secp256k1_keypair_create
Referenced from: /Users/unclebob/projects/clojure/nostr/nostril/./nostril
Expected in: /usr/local/lib/libsecp256k1.0.dylib

dyld: Symbol not found: _secp256k1_keypair_create
Referenced from: /Users/unclebob/projects/clojure/nostr/nostril/./nostril
Expected in: /usr/local/lib/libsecp256k1.0.dylib

My configure command for secp256k1 was:
>./configure --enable-module-ecdh --enable-module-recovery --enable-module-extrakeys --enable-module-schnorrsig --enable-module-default-callbacks

I'm building on OSX.

Any help appreciated.
Author Public Key
npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft