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

libboost seems to have not been bundled in mac app #12

Open
ch4ot1c opened this issue Nov 3, 2018 · 4 comments
Open

libboost seems to have not been bundled in mac app #12

ch4ot1c opened this issue Nov 3, 2018 · 4 comments

Comments

@ch4ot1c
Copy link
Collaborator

ch4ot1c commented Nov 3, 2018

To run the .app, users may find they need to first:

  • Get homebrew: https://brew.sh
  • brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode

This shouldn't be necessary. The error report in case of failure is:

Process:               BSHA3-Qt [15884]
Path:                  /Applications/BSHA3-Qt.app/Contents/MacOS/BSHA3-Qt
Identifier:            org.bitcoinfoundation.BSHA3-Qt
Version:               0.17.99 (0.17.99)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           BSHA3-Qt [15884]
User ID:               502

Date/Time:             2018-11-02 21:16:12.992 -0700
OS Version:            Mac OS X 10.13.6 (17G65)
Report Version:        12
Anonymous UUID:        2C12566A-0129-E048-5B64-DBEB06F2F07F

Sleep/Wake UUID:       6F10DF55-1BB8-4CE8-B627-44C288E04CB6

Time Awake Since Boot: 190000 seconds
Time Since Wake:       510 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @loader_path/libboost_system-mt.dylib
  Referenced from: /Applications/BSHA3-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
  Reason: image not found
[11:17 PM] H7USHKA: Binary Images:
       0x10b089000 -        0x10ba5ffff +org.bitcoinfoundation.BSHA3-Qt (0.17.99 - 0.17.99) <2792E9AB-79CF-320C-BA88-977A1C877158> /Applications/BSHA3-Qt.app/Contents/MacOS/BSHA3-Qt
       0x10bb86000 -        0x10bbddff7 +libzmq.5.dylib (0) <177948E4-6B87-3FB4-8E9F-2501F466E7B7> /Applications/BSHA3-Qt.app/Contents/Frameworks/libzmq.5.dylib
       0x10bbee000 -        0x10bbf0ffb +libboost_system.dylib (0) <5F326A75-7C25-361E-8117-0328DACB743F> /Applications/BSHA3-Qt.app/Contents/Frameworks/libboost_system.dylib
       0x10bbf7000 -        0x10bc06ff7 +libboost_filesystem.dylib (0) <82FF3B58-A90C-3AED-80CC-AFD348FC9469> /Applications/BSHA3-Qt.app/Contents/Frameworks/libboost_filesystem.dylib
       0x10bc15000 -        0x10bc22fff +libboost_thread-mt.dylib (0) <A9472435-3E86-3669-B6BF-EF8BBF614B71> /Applications/BSHA3-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
       0x10bc31000 -        0x10bc34ff7 +libboost_chrono-mt.dylib (0) <2843F685-E64E-34E8-A1DF-9C0655E9E902> /Applications/BSHA3-Qt.app/Contents/Frameworks/libboost_chrono-mt.dylib
       0x10bc3f000 -        0x10bd45ffb +QtNetwork (0) <CECCA1C7-8764-3738-8CC9-3F0ECC0BDCC6> /Applications/BSHA3-Qt.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
       0x10bd8e000 -        0x10
@ch4ot1c
Copy link
Collaborator Author

ch4ot1c commented Nov 3, 2018

Same with Linux. I'll make a fresh set of releases using make HOST=... in depends/ instead of global ./autogen && ./configure

@ch4ot1c
Copy link
Collaborator Author

ch4ot1c commented Nov 3, 2018

Used the depends system as demonstrated in doc/build-unix.md to attempt to make bundled builds for all platforms, but encountered challenges:

  • qt didn't build on windows (no exe in qt dir)
  • qt & xml related errors in windows Use WSL with Ubuntu 18 only!
  • unix (pc-linux, on ubuntu 18.04) built fine

@HashUnlimited
Copy link
Contributor

bitcoin/bitcoin#13594

in other words: the issue is present upstream but nobody seems to care...

@ch4ot1c
Copy link
Collaborator Author

ch4ot1c commented Jan 11, 2019

Ah - thank you for the info!

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

No branches or pull requests

2 participants