10gic / vanitygen-plusplus

A vanity address generator for BTC, ETH, LTC, TRX and 100+ more crypto currencies.
GNU Affero General Public License v3.0
268 stars 94 forks source link

Library not loaded #42

Closed bane77111 closed 1 year ago

bane77111 commented 2 years ago

Hi again

I have another issue with mac M1. Thing is that i can run the script on my laptop Mac (to slow), but on Mac M1 i get library not loaded:

dyld[15981]: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib Referenced from: /Users/lusee/vanitygen-plusplus1/vanitygen++ Reason: tried: '/usr/local/opt/pcre/lib/libpcre.1.dylib' (no such file), '/usr/local/lib/libpcre.1.dylib' (no such file), '/usr/lib/libpcre.1.dylib' (no such file)

So i guess that /usr/...... /libpcre.1.dylib should be in /local directory but on M1 is at usr/bin/...

Is there way to fix this?

Thanks in advance

ceemoneyx commented 2 years ago

Had a similar issue on Linux, I had to install the old PCRE1 library for this to work.

bane77111 commented 2 years ago

I checked, have an old version on both comp.

10gic commented 2 years ago

Before executing, try to set DYLD_LIBRARY_PATH to the directory of the dynamic library libpcre.1.dylib.