Error update Hamlib (solved)

2 posts / 0 new
Last post
ea8bgo
Error update Hamlib (solved)

I am an Ubuntu user. I currently run with Ubuntu 18.04.5 LTS version.

I have tried several times to update my hamlib to recognize my IC-7610 but have not been successful.

I have tried upgrading hamlib 3.3, hamlib 3.2 (this one doesn't have the configure file), hamlib 4.0.
When I ask him to give me a list of the transceivers he has in rigctld -l I get the following error:
rigctld: error while loading shared libraries: libhamlib.so. 4: cannot open shared object file: No such file or directory

If I do synaptic it appears that it runs with version 3.1.7

Does anyone have any idea how to fix it?

Best regards,
Juanjo EA8BGO

The error was in the hamlib file. You do not have to download the source code (tar.gz) but the hamlib-3.3.tar.gz (they look the same but they are not).

oh1kh
Error update Hamlib (solved)

Hi Juanjo!

It is quite easy to mix hamlib librares versions. That result is non working system.

You have solved it now but how ever I recommend to use version 4. Best solution would to clone the GitHub source to own computer and compile.
At the moment hamlib is under heavy development and fixes appear nearly daily basis. LOT of bugs are fixed.

New hamlib can be recognised having rig model numbers by 4 digits.

There are instructions how to compile.

As simplified instructions it goes like:
git clone https://github.com/Hamlib/Hamlib.git
Change to cloned directoty, then run
./bootstrap
./configure
make
make install

Some compilation tools must be loaded, running ./configure will tell what packages are missing.

Once it is done it is easy to keep up to date by just change to cloned directory and give
git pull
And then compile and install again.

Before making make install it would be good to uninstall the package installed hamlib. But removing that needs parameter that allows packet manager to remove it without removing all other programs depending on hamlib. That command parameter is different for different package managers.

Easiest would be to install from package but unfortunately package managers are slow to make new releases. Fedora does have rather fast package upgrade cycle.

--
Saku
OH1KH