hamlib installation problem

2 posts / 0 new
Last post
Z34PEC
hamlib installation problem

Hello.
I have Ubuntu 22.04 and hamlib 4.5 . I tried to install latest one 4.6.1 with building it from a scratch (not a first time to make compile) and everything went well. Unfortunately when I use dpkg-query -l hamlib command I receive infor that still active is version 4.5 and no sign or trace of version 4.6.1.
So I would like to know how to solve this problem and also how to check if latest version is installed and active on my computer ?
73 de Z34PEC

oh1kh
hamlib installation problem

HI!
That is the problem with package installs.
You package manager does not know about your self compiled Hamlib. It just knows the package date and version in it.

In addition this makes problems:
Having package installed Hamlib and self compiled one too may mix the two versions resulting unexpected behavior.
usually package version is in /usr/bin and libraries in /lib64 where self compiled versions go to /usr/local/bin and /usr/local/lib as default.

If you manage to roll over the package install with your compiled ones it works ok. But next time you get updates for your OS there may be update for Hamlib that again rolls over your self compiled one.

The best way would be to install all programs that need Hamlib from source (self compiled) and also compile Hamlib too.
Then package manager (dpkg) does not nothing about them and OS updates will not mix up the programs.

But if you just compile the Hamlib you should check before where the package installed Halmlib (rigctld and libhamlib.so) are.
Then use ./configure parameters so that your compiled one rolls over the package.
And every time you have OS updates check that package Hamlib does not roll over your compiled one.

Only reliable way to check your rigctld version is to use command console:

[saku@hamtpad ~]$ rigctld --version
rigctld Hamlib 4.7~git 2025-01-21T05:05:50Z SHA=bb4eb7 64-bit

--
Saku
OH1KH