You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since the paths are hardcoded to /opt/local in the ./configure script, but my libraries reside in /usr/local and the ./configure script only looks in LDFLAGS, not LFLAGS, to test for the existence of libevent.
I'm not very familiar with autoconf... but I suppose I could also edit the CONFIGFLAGS in configure.ac. Can I also add $LDFLAGS in addition to $LFLAGS? What's the difference?
After getting past setting correct lib and include paths, I failed here:
Thanks for this information. I'll get my Mac out and see what changes I can make to the Makefile to get it working. Hopefully tomorrow if I get chance.
I was able to compile successfully on OS X but ran into some issues, so thought I would document them here.
First, I installed libcrypto and libevent using homebrew:
Which installs to /usr/local
Here's how I configure and make:
Note: the second command requires LFLAGS instead of LDFLAGS, otherwise it fails here:
since the paths are hardcoded to /opt/local in the ./configure script, but my libraries reside in /usr/local and the ./configure script only looks in LDFLAGS, not LFLAGS, to test for the existence of libevent.
I'm not very familiar with autoconf... but I suppose I could also edit the CONFIGFLAGS in configure.ac. Can I also add $LDFLAGS in addition to $LFLAGS? What's the difference?
After getting past setting correct lib and include paths, I failed here:
ld: unknown option: -rpath=/Users/Donald/Development/Repositories/cbitcoin/bin
I found out that Apple's gcc compiler does not support -rpath, but you can instead use:
More info here: https://dev.lsstcorp.org/trac/wiki/LinkingDarwin
After that, everything compiles!
The text was updated successfully, but these errors were encountered: