boost-libs is broken trying to run kea

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

boost-libs is broken trying to run kea

Postby mcloaked » Sun Mar 06, 2022 11:21 am

I was setting up kea to run on a rock64 with fully up to date archlinuxarm. When starting up kea-dhcp4 or kea-ctrl-agent, including trying to test the configs there is a library .so failure due to boost-libs being not built up to date:

Starting up kea-dhcp4 gives a status error:
Mar 06 11:01:29 rock64 kea-dhcp4[5290]: /usr/bin/kea-dhcp4: error while loading shared libraries: libboost_system.so.1.76.0: cannot open shared object file: No such file or directory

and similarly starting up kea-ctrl-agent:
Mar 06 11:01:37 rock64 kea-ctrl-agent[5294]: /usr/bin/kea-ctrl-agent: error while loading shared libraries: libboost_system.so.1.76.0: cannot open shared object file: No such file or directory

The same error whilst running the config checks:

[root@rock64 kea]# kea-dhcp4 -t kea-dhcp4.conf
kea-dhcp4: error while loading shared libraries: libboost_system.so.1.76.0: cannot open shared object file: No such file or directory
[root@rock64 kea]# kea-dhcp4 -t kea-ctrl-agent.conf
kea-dhcp4: error while loading shared libraries: libboost_system.so.1.76.0: cannot open shared object file: No such file or directory
[root@rock64 kea]# pacman -Q boost
boost 1.78.0-1
[root@rock64 kea]# pacman -Q boost-libs
boost-libs 1.78.0-1

So despite boost-libs being version 1.78.0-1 perhaps the kea package is not built against up to date boost-libs? It would be nice if this package could be rebuilt so that it will run.
Last edited by mcloaked on Mon Mar 07, 2022 9:04 pm, edited 1 time in total.
mcloaked
 
Posts: 83
Joined: Thu Oct 16, 2014 4:16 pm

Re: boost-libs is broken trying to run kea

Postby mcloaked » Sun Mar 06, 2022 5:19 pm

There is a temporary work around that allows me to use kea now

$this->bbcode_second_pass_code('', '
cd /usr/lib
ln -s libboost_system.so.1.78.0 libboost_system.so.1.76.0
')

Once the kea package is rebuilt against the latest boost-libs package then this link won't be necessary, but at least this allows kea to run without error and provide dhcp services.
mcloaked
 
Posts: 83
Joined: Thu Oct 16, 2014 4:16 pm

Re: boost-libs is broken trying to run kea

Postby mcloaked » Mon Mar 07, 2022 9:03 pm

With the kea package now updated the library deps are now up to date.

$this->bbcode_second_pass_code('', '
$ find-libdeps /var/cache/pacman/pkg/kea-2.0.1-1-aarch64.pkg.tar.xz

includes this line:

libboost_system.so=1.78.0-64

')

So this is resolved.
mcloaked
 
Posts: 83
Joined: Thu Oct 16, 2014 4:16 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 5 guests