unclebobmartin on Nostr: #[1] #[2] I'm trying to build nostril, and doing something wrong. I built secp256k1 ...
jb55 (npub1xts…kk5s) RandyMcMillan (npub14hh…8acw) 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.
Published at
2022-08-08 22:26:12Event JSON
{
"id": "3cb3775ede70a2c2ce7350c5a2119b82b23d587ae0db11fdec7c5adb44c00f02",
"pubkey": "2ef93f01cd2493e04235a6b87b10d3c4a74e2a7eb7c3caf168268f6af73314b5",
"created_at": 1659997572,
"kind": 1,
"tags": [
[
"client",
"more-speech - 202208050837"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"adee616ff1914c943a0fef649cc8e8614b66c1298e6191874edbd0a49241779a"
]
],
"content": "#[1] #[2] 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.\n\n\u003e./nostril --sec deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef --content \"hi\"\ndyld: lazy symbol binding failed: Symbol not found: _secp256k1_keypair_create\n Referenced from: /Users/unclebob/projects/clojure/nostr/nostril/./nostril\n Expected in: /usr/local/lib/libsecp256k1.0.dylib\n\ndyld: Symbol not found: _secp256k1_keypair_create\n Referenced from: /Users/unclebob/projects/clojure/nostr/nostril/./nostril\n Expected in: /usr/local/lib/libsecp256k1.0.dylib\n\nMy configure command for secp256k1 was:\n\u003e./configure --enable-module-ecdh --enable-module-recovery --enable-module-extrakeys --enable-module-schnorrsig --enable-module-default-callbacks\n\nI'm building on OSX. \n\nAny help appreciated.",
"sig": "43d2aaf623ddf8897d6577310a8a62bc94a7194003900d43f7ccda6a52e0585b59fb77d2cf3f54f8aa781c0b0640fdccb63dd4990b03752de7a91222057e3ec3"
}