Closed rubymaniac closed 9 years ago
https://github.com/litecoin-project/litecoin/commits/exp-0.8.6.3-mark3 Did you try this branch?
Does any Bitcoin 0.8.x release build on Mavericks with homebrew?
@wtogami No I haven't tried the branch you mentioned, although I managed to compile litecoind on Mavericks by compiling boost from source. I have documented it here for future reference.
What version of boost is in homebrew? It sounds like there is a bug in homebrew.
Note historically 0.8.x and earlier were built with macports so that is the only supported way to build this current version. 0.9+ will be supported by only Homebrew. If you can figure out how to fix Homebrew or adjust 0.8.x's makefiles to support Homebrew without breaking the legacy 0.8.x macports build then patches are accepted.
Test environment
What I have done for building:
Compiling Errors:
llvm-g++ -stdlib=libstdc++ -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/twan/tao/litecoin/src/leveldb/include -I/Users/twan/tao/litecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/twan/tao/litecoin/src" -I"/Users/twan/tao/litecoin/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -o litecoind -L"/opt/local/lib" -L"/opt/local/lib/db48" leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o -dead_strip -ldb_cxx-4.8 -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt -lboost_chrono-mt -lssl -lcrypto -lz -lminiupnpc /Users/twan/tao/litecoin/src/leveldb/libleveldb.a /Users/twan/tao/litecoin/src/leveldb/libmemenv.a
Undefined symbols for architecture x86_64:
"boost::program_options::to_internal(std::string const&)", referenced from:
boost::program_options::detail::basic_config_file_iterator
I tried both homebrew and macports for the libs dependencies installation. It happened with the same compiling errors. It is not only wrong with homebrew packages.
Have the same error - did you get it working?
@rubymaniac could not get your fix to work
https://github.com/litecoin-project/litecoin/tree/master-0.10 Please use the upcoming v0.10 branch.
Yesterday I updated (clean install) my mac to the latest OS X (10.9.2) and tried to build litecoind with no success. I am using homebrew to install the dependencies:
and are installing fine. Then I am cloning
master-0.8
branch and patching as described in the docs:patch -p1 < contrib/homebrew/makefile.osx.patch
.After I
cd src && make -f makefile.osx
I get the following error regarding Undefined symbols for architecture x86_64_VERSIONS_
I have seen this similar issue and have tried every possible solution those guys gave to no success :/ This is driving me crazy as I need this for my work and I am pretty stuck here. Any help is much appreciated :)