CQRLOG 2.3 on RaspberryPi install problems

10 posts / 0 new
Last post
KC3KHA
CQRLOG 2.3 on RaspberryPi install problems

I'm trying to install CQRLOG 2.3.0-1 on my Raspberry Pi 3B ver. 1.2. I'm using the
Raspberry Pi .deb package at https://www.cqrlog.com/download. I'm using Raspian 8.0 (jessie). When I install it, I get:

pi@raspberrypi:~ $ sudo dpkg -i Downloads/cqrlog_2.3.0-1_armhf.deb
Selecting previously unselected package cqrlog.
(Reading database ... 112246 files and directories currently installed.)
Preparing to unpack .../cqrlog_2.3.0-1_armhf.deb ...
Unpacking cqrlog (2.3.0-1) ...
dpkg: dependency problems prevent configuration of cqrlog:
cqrlog depends on libmariadbclient-dev; however:
Package libmariadbclient-dev is not installed.
cqrlog depends on libmariadbclient-dev-compat; however:
Package libmariadbclient-dev-compat is not installed.

I've removed mysql* and tried installing both MariaDB 5.5 and 10, with no luck. Both versions of MariaDB install correctly and seem to run fine (get a database login and prompt with both). There doesn't seem to be a "libmariadbclient-dev-compat" package. Installing 5.5 includes libmariadbclient18; not sure about 10.

Can anyone tell me what I'm doing wrong? What versions of what packages are required, in what order?

Thanks so much for any help and suggestions you can offer. I was able to install a CQRLOG prior to version 2.3 from the Raspian repository, but I wanted WSJT support. I was really impressed with CQRLOG from this experience. I'm hoping to get the latest version running soon.

-Kevin
Kc3KZ (was KC3KHA)

KC3KHA
Further debugging info

When I try try to run 2.3.0 from the command line, I get:

pi@raspberrypi:~ $ cqrlog --version
Cqrlog Ver:2.3.0 (001) Date:2018-06-17
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****
FATAL ERROR: Can not get MySQL client library version version!
Setting to default version (5.1)
WARNING: obsolete call to RecreateWnd for TfrmDBConnect
Warning: TWinControl.DestroyHandle frmDBConnect:TfrmDBConnect Handle not Allocated
180703 14:29:54 [Note] /usr/sbin/mysqld (mysqld 10.0.35-MariaDB-0+deb8u1) starting as process 27155 ...
WARNING: obsolete call to RecreateWnd for TfrmDbError
Warning: TWinControl.DestroyHandle frmDbError:TfrmDbError Handle not Allocated
Closing ini file ...

With the --debug=1 flag, I get many references to:

Trying to connect to database
180703 14:28:54 [Note] /usr/sbin/mysqld (mysqld 10.0.35-MariaDB-0+deb8u1) starting as process 27119 ...
Can not load default MySQL library ("libmysqlclient.so.16" or "libmysqlclient.so"). Check your installation.

Hope this helps.

-Kevin
KC3KZ

ea8bgo
sudo apt-get install

sudo apt-get install libmysqlclient-dev

KC3KHA
No joy

ea8bgo, thanks, but no joy:

pi@raspberrypi:~ $ sudo apt-get install libmysqlclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libmysqlclient-dev
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/887 kB of archives.
After this operation, 4,938 kB of additional disk space will be used.
Selecting previously unselected package libmysqlclient-dev.
(Reading database ... 112246 files and directories currently installed.)
Preparing to unpack .../libmysqlclient-dev_5.5.60-0+deb8u1_armhf.deb ...
Unpacking libmysqlclient-dev (5.5.60-0+deb8u1) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Setting up libmysqlclient-dev (5.5.60-0+deb8u1) ...
pi@raspberrypi:~ $ sudo dpkg -i Downloads/cqrlog_2.3.0-1_armhf.deb
Selecting previously unselected package cqrlog.
(Reading database ... 112315 files and directories currently installed.)
Preparing to unpack .../cqrlog_2.3.0-1_armhf.deb ...
Unpacking cqrlog (2.3.0-1) ...
dpkg: dependency problems prevent configuration of cqrlog:
cqrlog depends on libmariadbclient-dev; however:
Package libmariadbclient-dev is not installed.
cqrlog depends on libmariadbclient-dev-compat; however:
Package libmariadbclient-dev-compat is not installed.

dpkg: error processing package cqrlog (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Errors were encountered while processing:
cqrlog
pi@raspberrypi:~ $

Open to other suggestions.

-Kevin
KC3KZ

KC3KHA
Maybe?!?

However, when I run 'cqrlog --debug=1' from the command line, everything seems like it's working okay (asks for database, New QSO and CQRLOG for Linux windows show up, etc.). Entering two QSLs for the same call seems to work correctly, too. Shows up in database window.

No errors show up in the debugging output, just multiple instances of these warnings:

SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
WARNING: obsolete call to RecreateWnd for TfrmExportProgress
Warning: TWinControl.DestroyHandle frmExportProgress:TfrmExportProgress Handle not Allocated
SELECT COUNT(*) FROM cqrlog_main

So, maybe it's working after all? Are there any diagnostics I could run to confirm its correct operation in all aspects?

And, ea6bgo, thank you very much!

-Kevin
KC3KZ

ea8bgo
I had a similar problem when

I had a similar problem when I tried to install this version on my raspberry pi 2b. When I saw the number of problems he was giving me, I decided to install the previous version again. What I did when I realized that the database was wrong was to remove the mysql version and install the mariadb database. Try removing the database you have (mysql or mariadb) and install the opposite.

GM4NFI
I have exactly the same problem.

Today I decided to upgrade from CQRLog 2.0.4 to 2.3.0.
Using the cqrlog_2.3.0-1_armhf.deb package
I am not using dpkg from the command line but using the .deb file from gdebi - should work the same as gdbi is a front end to dpkg?

I get an error message that the dependancy libmariadbclient-dev is not present.
I thought cqrlog needed mySql but this is already installed.

Next I had a go at the cqrlog_2.3.0_armhf.tar.gz file.

I used tar to extract the files but there is no configure file in the directory that was created.
Without a configure file a Makefile cannot be created?

At this stage I was unsure what to do next.

(I wish I had read this thread before I started HI)

Help!
Dave
GM4NFI

GM4NFI
Still have the same problem

Yesterday I thought I would try and install libmariadbclient-dev (10.1.26-0+deb9u1)
I went to
https://packages.debian.org/stretch/libmariadbclient-dev
and downloaded the armhf version.
libmariadbclient-dev_10.1.26-0+deb9u1_armhf.de
It needed a couple of dependancies which I duly tried to install.
These dependancies had further dependancies.
In the end I gave up as I seemed to be continually having to instal further dependancies.

Dave
GM4NFI

GM4NFI
Latest version that will install

With all the problems with V2.3.0 (under Jessie) I think I will try an older version.
I have V1.9.0 installed on a different SD card and that works fine (under Wheezy.)
What is the newest version that will install OK?
V2.2.0?
Has anybody tried any version under Stretch?

Dave
GM4NFI

GM4NFI
SUCCESS

Making progress.
I have updated what I have done at
https://www.cqrlog.com/node/2107
Dave