-
Notifications
You must be signed in to change notification settings - Fork 181
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
Installation Debian/Ubuntu fails , missing library libprotokit.a #717
Comments
ProtoKit is not a Libbitcoin dependency. Please post the full output of install.sh using clear prefix directory and we’ll take a look. |
Running the script sudo install.sh now. Takes a while. The directory is simply my home-dir. Do you need any information about the system? |
|
Dumping into your home (non-empty) directory is problematic for troubleshooting, given the vagaries of libtool linking. A non-sudo build into a clear directory will help determine if the issue is environmental. |
@stn021 Looks like |
Okay, I will try that.
Not sure what you mean by A --prefix installation with --build-zmq.
Would that be this?
sudo install.sh --prefix=$HOME/build-libbitcoin-explorer --build-zmq
Also I suspect that this situation will happen to anyone who compiles on
ubuntu 22.10.
Thank you
stn
Am Do., 1. Dez. 2022 um 07:09 Uhr schrieb Phillip Mienk <
***@***.***>:
… @stn021 <https://github.com/stn021> Looks like libprotokit.a is a static
library dependency coming from zmq. You may find that the option
--disable-shared will attempt a static linking of all dependencies,
resolving the portability issue. This doesn't resolve why your zmq build
is mixing shared and static linking. A --prefix installation with
--build-zmq would isolate you to a controlled prefix installation which
would (presumably) avoid the local zmq build.
—
Reply to this email directly, view it on GitHub
<#717 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASYXNBZSIIOT4TBI3QKA6MTWLA6IFANCNFSM6AAAAAASQD6BJY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@stn021 I would strive to separate build artifacts and results. $ sudo ./install.sh --prefix=$HOME/prefix-libbitcoin-explorer --build-zmq --disable-shared Will produce both I believe you may be right with respect to Ubuntu 22.10. My experience regarding 22.04 has me using |
Hello,
@stn021 <https://github.com/stn021> I would strive to separate build artifacts and results.
Again I am not sure what that means.
Apparently you have already successfully compiled on ubuntu 22.10.
Could you perhaps give a concrete set of instructions that will work on
ubuntu 22.10 ? And perhaps update the installation-instructions on the
github-page?
So far AFAICT there are numerous possible variations and testing each
variation takes approximately one hour.
Not to mention the necessity to make a detailed record of every attempt.
And anyone else who tries to compile with ubuntu 22.10 will have the same
problem and will need the same amount of time.
|
@stn021 - circling back to the original issue: the line
implies to me that if you were to look in your If you can verify the contents of The steps provided were intended for Ubuntu 18.04 on an x86_64 architecture. We cannot be responsible for the proper packaging of all dependencies, let alone on on configurations we have not validated. The testing infrastructure guarantees us an instruction set that currently works with Ubuntu 20.04. The verified instructions are being updated to more closely match the testing infrastructure. If you can provide output of your |
Hello, there are precompiled binaries of BX bitcoin-explorer available for selected platforms. I would like to suggest that you post a binary for raspberry pi (64 bit). |
Hello, respectfully, bitcoin-explorer seems to be very useful software. I have recently used a few other projects that compile on ubuntu 21.10 but not on 22.04 LTS and 22.10. It seems that that there were major changes between 21.10 and 22.04 LTS. So I tried to compile on ubuntu 21.10 and again got a long lists of errors, though different ones. So, again respectfully, I do not think that bitcoin-explorer will be of much use if it does not compile. |
Without new information I'll conclude my assumptions were correct. The issue raised should be resolved with the appropriate entities. Additional issues should be opened with appropriate details. |
FWIW I had the same problems with libprotokit on Ubuntu 22.10, but I managed to build the project by passing Before that, I also tried to build with Then I also tried |
Hello,
compile and install of bx seems straightforward according to https://github.com/libbitcoin/libbitcoin-explorer/tree/version3#debianubuntu
I use ubuntu 22.10 with gcc 12.2.0
Installed, not docker or VM.
All required package according to the instructions are installed.
The script sudo install.sh at first appears to work and compiles a lot but then ends at:
*** Warning: Linking the shared library src/libbitcoin-protocol.la against the
*** static library libprotokit.a is not portable!
ar: libprotokit.a: No such file or directory
make: *** [Makefile:874: src/libbitcoin-protocol.la] Fehler 1
I have no idea where to even look for the reason for this.
The text was updated successfully, but these errors were encountered: