Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Compilation Issues (macOS High Sierra 10.13.3) #66

Open
Manbearpixel opened this issue Jul 21, 2018 · 3 comments
Open

Source Compilation Issues (macOS High Sierra 10.13.3) #66

Manbearpixel opened this issue Jul 21, 2018 · 3 comments

Comments

@Manbearpixel
Copy link

Describe the issue

After running ./autogen.sh and ./configure I encounter a source build issue when executing the make command.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Run ./autogen.sh
  2. Run LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include' PKG_CONFIG_PATH='/usr/local/opt/openssl/lib/pkgconfig' ./configure --with-gui=qt5
  3. Run make

Expected behavior

It should build phored source.

Actual behavior

It fails with an error Undefined symbols for architecture x86_64.

What version of Phore Core are you using?

v1.3.2

Machine specs:

  • OS: macOS High Sierra
  • CPU: 2.2 GHz i7
  • RAM: 8 GB
  • Disk size: 300+ GB
  • Disk Type (HD/SDD): SDD

Any extra information that might be useful in the debugging process.

Making all in src
  CXXLD    phored
Undefined symbols for architecture x86_64:
  "boost::gregorian::greg_month::as_short_string() const", referenced from:
      boost::date_time::month_formatter<boost::gregorian::greg_month, boost::date_time::iso_extended_format<char>, char>::format_month(boost::gregorian::greg_month const&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) in libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o)
  "boost::gregorian::greg_month::as_long_string() const", referenced from:
      boost::date_time::month_formatter<boost::gregorian::greg_month, boost::date_time::iso_extended_format<char>, char>::format_month(boost::gregorian::greg_month const&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) in libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [phored] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
@Manbearpixel
Copy link
Author

Manbearpixel commented Jul 21, 2018

I'm using a brew installed boost tagged at 1.57 as this setup has been working so far with other blockchain wallet builds. Just for sanity checks, I just pulled the latest PIVX wallet source and am currently in the process of make to see if I encounter the same issue. Will update this comment on the result of that build ✌️

Edit
PIVX source built fine, so I'm still scratching my head.

@KolbyML
Copy link

KolbyML commented Jul 21, 2018

Just build the depends through the depends folder https://github.com/phoreproject/Phore/tree/master/depends

@jonspock
Copy link

That's fixed in PIVX code but was also broken for a while and should only be for Debug builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants