Page 1 of 1

Ubuntu v4.1.3

Posted: 01 May 2024 14:54
by DesT
@Poltos,

When upgrading 4.1.1 to 4.1.3 on Ubuntu 20.04.06 LTS (amd64), z-way-server refuse to start...

Got this:

error while loading shared libraries: libgattlib.so: cannot open shared object file: No such file or directory

And I can't find the package that contain this libraries...

Re: Ubuntu v4.1.3

Posted: 01 May 2024 21:43
by lanbrown
$ dpkg-deb -I gattlib-0.1.deb
new debian package, version 2.0.
size 81510 bytes: control archive=440 bytes.
258 bytes, 10 lines control
175 bytes, 3 lines md5sums
Package: gattlib
Version: 0.1
Section: devel
Priority: optional
Architecture: amd64
Depends: libglib2.0-0
Installed-Size: 227
Maintainer: Olivier Martin <olivier@labapart.com>
Description: Library to access GATT information from Bluetooth Low Power devices

$ dpkg-deb -c gattlib-0.1.deb
drwxrwxr-x root/root 0 2016-04-28 13:05 ./usr/
drwxrwxr-x root/root 0 2016-04-28 13:05 ./usr/lib/
drwxrwxr-x root/root 0 2016-04-28 13:05 ./usr/lib/pkgconfig/
-rw-r--r-- root/root 269 2016-04-28 13:04 ./usr/lib/pkgconfig/gattlib.pc
-rw-r--r-- root/root 228334 2016-04-28 13:05 ./usr/lib/libgattlib.so
drwxrwxr-x root/root 0 2016-04-28 13:05 ./usr/include/
-rw-r--r-- root/root 3421 2016-04-28 00:47 ./usr/include/gattlib.h

Re: Ubuntu v4.1.3

Posted: 01 May 2024 23:47
by DesT
thanks but this package is not available to install.

Nothing return with apt-cache search, where can I download it ?

Re: Ubuntu v4.1.3

Posted: 02 May 2024 02:19
by lanbrown

Re: Ubuntu v4.1.3

Posted: 02 May 2024 02:20
by lanbrown

Re: Ubuntu v4.1.3

Posted: 02 May 2024 14:18
by DesT
Thanks @lanbrown

Is there any other prereq for the build ? Can't find a list of them anywhere as, just after installing the gattlib package, now it asked for libpython3.10, but in Ubuntu 20.04.06 it's version 3.9

Re: Ubuntu v4.1.3

Posted: 02 May 2024 19:25
by lanbrown
That would be a question for the developer.

You can try:

Code: Select all

sudo apt install ./* && sudo apt --fix-broken install ./*
or

Code: Select all

apt-get install -f

Re: Ubuntu v4.1.3

Posted: 10 May 2024 01:57
by PoltoS
Thanks for the feedback, we found that the file was not copied in the build. Please put this file in the /opt/z-way-server/libs folder: https://storage.z-wave.me/tmp/libgattlib.so

Re: Ubuntu v4.1.3

Posted: 11 May 2024 21:00
by DesT
thanks @PoltoS

4.1.3 is working with this file added ;)

Re: Ubuntu v4.1.3

Posted: 13 May 2024 22:08
by PoltoS
We have rebuilt the v4.1.3 so it includes the missing library now.