GitHub: GitHub - lbryio/lbcd: An alternative full node implementation of LBRY's blockchain written in Go (golang)
Linux/BSD/MacOSX:
Install Go according to the installation instructions here: Download and install - The Go Programming Language
Ensure Go was installed properly and is a supported version ( Go 1.14 or newer. )
Install it with command: go install
To build executable use: go build
You can start with ./chain (If won’t start do chmod +x chain)
Windows:
Install Go according to the installation instructions here: http://golang.org/doc/install
Ensure Go was installed properly and is a supported version ( Go 1.14 or newer. )
Install TDM-GCC Download | tdm-gcc
Install it with command: go install
To build executable use: go build
You can start with chain.exe
5 Likes
rapydi
October 5, 2023, 7:19am
#2
I wish building and using lbrynet was that easy
Just recently was able to build lbrynet (Python 3.7 and all that too) on FreeBSD i386, then ran it and got a thread safety ImportError message from libtorrent 2.0.6.
Edit:
The message is:
ImportError: /path/to/lbry-sdk/lbry-venv/lib/python3.7/site-packages/libtorrent-2.0.6-py3.7-freebsd-12.4-RELEASE-i386.egg/libtorrent.so: No space available for static Thread Local Storage
Full message here
1 Like
I havent tried building new libtorrent one though.
rapydi
July 12, 2024, 10:45pm
#4
In the meanwhile switched to FreeBSD 14 amd64
Finally found a pro cess to build lbrynet on FreeBSD
Good to see the log say:
2024-07-11 ... INFO lbry.extras.daemon.daemon:491: Platform: {
"processor": "amd64",
"python_version": "3.7.17",
"platform": "FreeBSD-14.0-RELEASE-amd64-64bit-ELF",
"os_release": "14.0-RELEASE",
"os_system": "FreeBSD",
"lbrynet_version": "0.113.0",
"version": "0.113.0",
"build": "dev",
"distro": {
"id": "freebsd",
"version": "14.0",
"version_parts": {
"major": "14",
"minor": "0",
"build_number": ""
},
"like": "",
"codename": ""
},
"desktop": "Unknown"
}
1 Like