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

Build .deb for Ubuntu 22.04 LTS Jammy #111

Open
PanderMusubi opened this issue Jan 5, 2023 · 1 comment
Open

Build .deb for Ubuntu 22.04 LTS Jammy #111

PanderMusubi opened this issue Jan 5, 2023 · 1 comment

Comments

@PanderMusubi
Copy link

Expected behavior

Install the .deb package on Ubuntu 22.04 LTS Jammy with:

dpkg -i emercoin-0.7.11-7-armhf.deb

Actual behavior

Installation failed with:

Selecting previously unselected package emercoin.
(Reading database ... 36826 files and directories currently installed.)
Preparing to unpack emercoin-0.7.11-7-armhf.deb ...
Unpacking emercoin (0.7.11-7) ...
dpkg: dependency problems prevent configuration of emercoin:
 emercoin depends on libboost-filesystem1.74.0 (>= 1.74.0); however:
  Package libboost-filesystem1.74.0 is not installed.
 emercoin depends on libevent-2.1-7 (>= 2.1.8-stable); however:
  Package libevent-2.1-7 is not installed.
 emercoin depends on libevent-pthreads-2.1-7 (>= 2.1.8-stable); however:
  Package libevent-pthreads-2.1-7 is not installed.
 emercoin depends on libleveldb1d; however:
  Package libleveldb1d is not installed.
 emercoin depends on libminiupnpc17 (>= 1.9.20140610); however:
  Package libminiupnpc17 is not installed.
 emercoin depends on libqrencode4 (>= 3.2.0); however:
  Package libqrencode4 is not installed.
 emercoin depends on libqt5core5a (>= 5.15.1); however:
  Package libqt5core5a is not installed.
 emercoin depends on libqt5dbus5 (>= 5.0.2); however:
  Package libqt5dbus5 is not installed.
 emercoin depends on libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1); however:
  Package libqt5gui5 is not installed.
  Package libqt5gui5-gles is not installed.
 emercoin depends on libqt5network5 (>= 5.0.2); however:
  Package libqt5network5 is not installed.
 emercoin depends on libqt5widgets5 (>= 5.15.1); however:
  Package libqt5widgets5 is not installed.
 emercoin depends on libzmq5 (>= 4.0.1+dfsg); however:
  Package libzmq5 is not installed.

dpkg: error processing package emercoin (--install):
 dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
 emercoin

This can be fixed with

apt --fix-broken install

But when running

/usr/bin/emercoin-cli

The error is

/usr/bin/emercoin-cli: error while loading shared libraries: libboost_filesystem.so.1.78.0: cannot open shared object file: No such file or directory

To reproduce

See above

This can be solved by building .deb for different versions of libboost, name the package e.g.

 emercoin-0.7.11-7-armhf~libboost1740.deb
 emercoin-0.7.11-7-armhf~libboost1780.deb

System information

cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

uname -a
Linux xxxxxx 5.15.86 #0 SMP Tue Jan 3 05:47:25 2023 armv7l armv7l armv7l GNU/Linux
@PanderMusubi
Copy link
Author

Workaround is building from source with:

cd depends
make NO_QT=1 HOST=arm-linux-gnueabihf
cd ..
./autogen.sh
make

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

1 participant