Skip to contentSkip to conversation

ARRL's LoTW with Debian Sarge

DISCUSSION Nate Bargmann 5 participants 7 messages Sep 18, 2003 – Sep 30, 2003

lore
Share & tools
lore
#0 lore raw

Hello everyone.

For most on this list what I'm about describe is probably old hat, but there may be some newcomers that would find this helpful in the list archives.

As most are probably aware, the American Radio Relay League has been working for a few years on a way to digitally sign log submissions for electronic application for their various awards. In the October 2003 issue of QST (Amateur Windows? 8-) it has been announced that this program was opened to general use as of 15 September 2003. On the Logbook of The World web page:

http://www.arrl.org/lotw/

there is a library and programs for signing and generating log data for Linux. These programs are provided in binary form only for Red Hat 7.2 and 8.0 releases and are RPMs. Also provided are source RPMs for the library and the applications. These archives are not directly installable as managed packages on my Linux distribution of choice, Debian, so they must be converted using a utility called Alien.

Having never needed Debian's Alien before, I decided this was as good of a time as any to try it. I grabbed the RH 8.0 RPMs and the source RPMs, just in case.

I installed alien, rpm, libwxbase2.4, and libwxgtk2.4 as the web page said the programs depended on WXWin 2.4.

Converting the RPMs to .deb's was straightforward with alien and installation with dpkg completed without error. I attempted to start tqsl, but the startup failed. A quick ldd /usr/bin/tqsl revealed a dependency on libcrypto.so.2 that was not found. Using the package search page on the Debian site:

http://www.debian.org/distrib/packages

I found that it was a part of the libssl0.9.7 and libssl0.9.6 packages, the latter version being in the oldlibs section.

Well, I created a symlink to libcrypto.so.0.9.7 named libcrypto.so.2:

ln -s libcrypto.so.0.9.7 libcrypto.so.2

(actually I used Midnight Commander, but this is generic--don't forget you'll need to be root as these files reside in /usr/lib) and tried again. Running tqsl worked fine, but tqslcert failed with a relocation error.

Poking around in the README in the tqsllib archive I found where the library is dependent on OpenSSL 0.9.6. So I redid my symlink to point to libcrypto.so.0.9.6 and tqslcert loaded and ran.

In tqslcert I was able to create my certificate request and am now waiting for the authentication process.

One quirk or bug I noticed in tqslcert is that if the Help button is clicked and then the help window is backgrounded, the window that called the help window is frozen and will remain so until the help window is closed. This may be a problem in WxWin, I don't know.

So there you have it, my micro-HOWTO on LoTW on Debian Sarge (Testing).

73, de Nate >>

P.S. I keep this system updated about once per week. An older Testing snapshot may or may not work. The same caveat may apply to Sid (Unstable).

Signature · 5 lines
 Wireless | Amateur Radio Station N0NB          | "We have awakened a
 Internet | [email protected]               | sleeping giant and
 Location | Bremen, Kansas USA EM19ov           | have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a terrible resolve".
             http://www.qsl.net/n0nb/           | - Admiral Yamamoto
#1 lore raw

I installed the beta version in May and went through essentially the same process (see my May 16 message to debian-hams).

I see that source rpms are now available, so it should be relatively
easy to create a Debian package from scratch. The copyright file says
"BSD-like", which may not be adequate for inclusion in Debian.

Bob, N7XY

Quoted 75 lines · Nate Bargmann

Hello everyone.

For most on this list what I'm about describe is probably old hat, but there may be some newcomers that would find this helpful in the list archives.

As most are probably aware, the American Radio Relay League has been working for a few years on a way to digitally sign log submissions for electronic application for their various awards. In the October 2003 issue of QST (Amateur Windows? 8-) it has been announced that this program was opened to general use as of 15 September 2003. On the Logbook of The World web page:

http://www.arrl.org/lotw/

there is a library and programs for signing and generating log data for Linux. These programs are provided in binary form only for Red Hat 7.2 and 8.0 releases and are RPMs. Also provided are source RPMs for the library and the applications. These archives are not directly installable as managed packages on my Linux distribution of choice, Debian, so they must be converted using a utility called Alien.

Having never needed Debian's Alien before, I decided this was as good of a time as any to try it. I grabbed the RH 8.0 RPMs and the source RPMs, just in case.

I installed alien, rpm, libwxbase2.4, and libwxgtk2.4 as the web page said the programs depended on WXWin 2.4.

Converting the RPMs to .deb's was straightforward with alien and installation with dpkg completed without error. I attempted to start tqsl, but the startup failed. A quick ldd /usr/bin/tqsl revealed a dependency on libcrypto.so.2 that was not found. Using the package search page on the Debian site:

http://www.debian.org/distrib/packages

I found that it was a part of the libssl0.9.7 and libssl0.9.6 packages, the latter version being in the oldlibs section.

Well, I created a symlink to libcrypto.so.0.9.7 named libcrypto.so.2:

ln -s libcrypto.so.0.9.7 libcrypto.so.2

(actually I used Midnight Commander, but this is generic--don't forget you'll need to be root as these files reside in /usr/lib) and tried again. Running tqsl worked fine, but tqslcert failed with a relocation error.

Poking around in the README in the tqsllib archive I found where the library is dependent on OpenSSL 0.9.6. So I redid my symlink to point to libcrypto.so.0.9.6 and tqslcert loaded and ran.

In tqslcert I was able to create my certificate request and am now waiting for the authentication process.

One quirk or bug I noticed in tqslcert is that if the Help button is clicked and then the help window is backgrounded, the window that called the help window is frozen and will remain so until the help window is closed. This may be a problem in WxWin, I don't know.

So there you have it, my micro-HOWTO on LoTW on Debian Sarge (Testing).

73, de Nate >>

P.S. I keep this system updated about once per week. An older Testing snapshot may or may not work. The same caveat may apply to Sid (Unstable).

Signature · 5 lines
 Wireless | Amateur Radio Station N0NB          | "We have awakened a
 Internet | [email protected]               | sleeping giant and
 Location | Bremen, Kansas USA EM19ov           | have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a terrible resolve".
             http://www.qsl.net/n0nb/           | - Admiral Yamamoto
#2 lore raw
In reply to Nate Bargmann

Nate,

Good work on using Alein. As you can see, Alein does a great job of converting the RPM to a deb but you are still faced with the library hell of RPM which is inherent in that package system.

For anyone interested in getting started with Debian, the Distrowatch web site ran an excellent introduction and guide to installing Debian a couple of weeks ago. Here's a link:
http://www.distrowatch.com/dwres.php?resource=review-debian

Quoted 96 lines · --- Nate Bargmann

Hello everyone.

For most on this list what I'm about describe is
probably old hat, but
there may be some newcomers that would find this
helpful in the list
archives.

As most are probably aware, the American Radio Relay League has been
working for a few years on a way to digitally sign log submissions for
electronic application for their various awards. In the October 2003
issue of QST (Amateur Windows? 8-) it has been announced that this
program was opened to general use as of 15 September 2003. On the
Logbook of The World web page:

http://www.arrl.org/lotw/

there is a library and programs for signing and generating log data for
Linux. These programs are provided in binary form only for Red Hat 7.2
and 8.0 releases and are RPMs. Also provided are source RPMs for the
library and the applications. These archives are not directly
installable as managed packages on my Linux distribution of choice,
Debian, so they must be converted using a utility called Alien.

Having never needed Debian's Alien before, I decided this was as good of
a time as any to try it. I grabbed the RH 8.0 RPMs and the source RPMs,
just in case.

I installed alien, rpm, libwxbase2.4, and
libwxgtk2.4 as the web page
said the programs depended on WXWin 2.4.

Converting the RPMs to .deb's was straightforward with alien and
installation with dpkg completed without error. I attempted to start
tqsl, but the startup failed. A quick ldd /usr/bin/tqsl revealed a
dependency on libcrypto.so.2 that was not found. Using the package
search page on the Debian site:

http://www.debian.org/distrib/packages

I found that it was a part of the libssl0.9.7 and
libssl0.9.6 packages,
the latter version being in the oldlibs section.

Well, I created a symlink to libcrypto.so.0.9.7
named libcrypto.so.2:

ln -s libcrypto.so.0.9.7 libcrypto.so.2

(actually I used Midnight Commander, but this is
generic--don't forget
you'll need to be root as these files reside in
/usr/lib) and tried
again. Running tqsl worked fine, but tqslcert
failed with a relocation
error.

Poking around in the README in the tqsllib archive I found where the
library is dependent on OpenSSL 0.9.6. So I redid my symlink to point
to libcrypto.so.0.9.6 and tqslcert loaded and ran.

In tqslcert I was able to create my certificate
request and am now
waiting for the authentication process.

One quirk or bug I noticed in tqslcert is that if the Help button is
clicked and then the help window is backgrounded, the window that called
the help window is frozen and will remain so until the help window is
closed. This may be a problem in WxWin, I don't know.

So there you have it, my micro-HOWTO on LoTW on
Debian Sarge (Testing).

Quoted 23 lines

73, de Nate >>

P.S. I keep this system updated about once per week.
An older Testing
snapshot may or may not work. The same caveat may apply to Sid
(Unstable).

Signature · 14 lines
 Wireless | Amateur Radio Station N0NB          |
"We have awakened a
 Internet | [email protected]               |
sleeping giant and
 Location | Bremen, Kansas USA EM19ov           |
have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a
terrible resolve".
             http://www.qsl.net/n0nb/           | -
Admiral Yamamoto
_______________________________________________
Ham-Linux mailing list
[email protected]
http://mailman.qth.net/mailman/listinfo/ham-linux

=====
Bob Wooldridge KC0DXF
Web Mail: [email protected]
Blog: http://kc0dxf.net/cgi-bin/blosxom/
See Also: http://mcsg.org

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#3 lore raw
In reply to Nate Bargmann

Has anybody tried TrustedQSL version 1.07? When I get to the point of creating the signed file, tqsl gives me the following error and then dies:

tqsl: relocation error: tqsl: undefined symbol: tqsl_setADIFConverterDateFilte

I was able to create files with 1.06, but the LOTW system doesn't appear to like them and gives me this (I did successfully go through the certificate process):

2003-09-23 17:30:41 LOTW_QSO:  Error in record 3: No recognized signing specification in tCONTACT record

I didn't have any of these problems with the beta-test versions.

This is on a Debian (mostly Sarge with a bit of Sid) system, using alien to convert the files. I also tried compiling from source, but had trouble with both trustedqsl (configure can't locate tqsllib even if I specify the location) and tqsllib (/usr/bin/ld: cannot find -liberty).

Puzzled,
Bob, N7XY

Quoted 75 lines · Nate Bargmann

Hello everyone.

For most on this list what I'm about describe is probably old hat, but there may be some newcomers that would find this helpful in the list archives.

As most are probably aware, the American Radio Relay League has been working for a few years on a way to digitally sign log submissions for electronic application for their various awards. In the October 2003 issue of QST (Amateur Windows? 8-) it has been announced that this program was opened to general use as of 15 September 2003. On the Logbook of The World web page:

http://www.arrl.org/lotw/

there is a library and programs for signing and generating log data for Linux. These programs are provided in binary form only for Red Hat 7.2 and 8.0 releases and are RPMs. Also provided are source RPMs for the library and the applications. These archives are not directly installable as managed packages on my Linux distribution of choice, Debian, so they must be converted using a utility called Alien.

Having never needed Debian's Alien before, I decided this was as good of a time as any to try it. I grabbed the RH 8.0 RPMs and the source RPMs, just in case.

I installed alien, rpm, libwxbase2.4, and libwxgtk2.4 as the web page said the programs depended on WXWin 2.4.

Converting the RPMs to .deb's was straightforward with alien and installation with dpkg completed without error. I attempted to start tqsl, but the startup failed. A quick ldd /usr/bin/tqsl revealed a dependency on libcrypto.so.2 that was not found. Using the package search page on the Debian site:

http://www.debian.org/distrib/packages

I found that it was a part of the libssl0.9.7 and libssl0.9.6 packages, the latter version being in the oldlibs section.

Well, I created a symlink to libcrypto.so.0.9.7 named libcrypto.so.2:

ln -s libcrypto.so.0.9.7 libcrypto.so.2

(actually I used Midnight Commander, but this is generic--don't forget you'll need to be root as these files reside in /usr/lib) and tried again. Running tqsl worked fine, but tqslcert failed with a relocation error.

Poking around in the README in the tqsllib archive I found where the library is dependent on OpenSSL 0.9.6. So I redid my symlink to point to libcrypto.so.0.9.6 and tqslcert loaded and ran.

In tqslcert I was able to create my certificate request and am now waiting for the authentication process.

One quirk or bug I noticed in tqslcert is that if the Help button is clicked and then the help window is backgrounded, the window that called the help window is frozen and will remain so until the help window is closed. This may be a problem in WxWin, I don't know.

So there you have it, my micro-HOWTO on LoTW on Debian Sarge (Testing).

73, de Nate >>

P.S. I keep this system updated about once per week. An older Testing snapshot may or may not work. The same caveat may apply to Sid (Unstable).

Signature · 5 lines
 Wireless | Amateur Radio Station N0NB          | "We have awakened a
 Internet | [email protected]               | sleeping giant and
 Location | Bremen, Kansas USA EM19ov           | have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a terrible resolve".
             http://www.qsl.net/n0nb/           | - Admiral Yamamoto
#4 lore raw

Re: ARRL's LoTW with Debian Sarge (solved)

I noticed that the download page now shows which version of GTK is required for the RH7 and RH8 version of TrustedQSL. With the RH7 version (converted to Debian with alien), I no longer receive the error message and was able to sign and upload my log files without further problems.

Bob, N7XY

Quoted 98 lines · Bob Nielsen

Has anybody tried TrustedQSL version 1.07? When I get to the point of creating the signed file, tqsl gives me the following error and then dies:

tqsl: relocation error: tqsl: undefined symbol: tqsl_setADIFConverterDateFilte

I was able to create files with 1.06, but the LOTW system doesn't appear to like them and gives me this (I did successfully go through the certificate process):

2003-09-23 17:30:41 LOTW_QSO:  Error in record 3: No recognized signing specification in tCONTACT record

I didn't have any of these problems with the beta-test versions.

This is on a Debian (mostly Sarge with a bit of Sid) system, using alien to convert the files. I also tried compiling from source, but had trouble with both trustedqsl (configure can't locate tqsllib even if I specify the location) and tqsllib (/usr/bin/ld: cannot find -liberty).

Puzzled,
Bob, N7XY

Quoted 75 lines · Nate Bargmann

Hello everyone.

For most on this list what I'm about describe is probably old hat, but there may be some newcomers that would find this helpful in the list archives.

As most are probably aware, the American Radio Relay League has been working for a few years on a way to digitally sign log submissions for electronic application for their various awards. In the October 2003 issue of QST (Amateur Windows? 8-) it has been announced that this program was opened to general use as of 15 September 2003. On the Logbook of The World web page:

http://www.arrl.org/lotw/

there is a library and programs for signing and generating log data for Linux. These programs are provided in binary form only for Red Hat 7.2 and 8.0 releases and are RPMs. Also provided are source RPMs for the library and the applications. These archives are not directly installable as managed packages on my Linux distribution of choice, Debian, so they must be converted using a utility called Alien.

Having never needed Debian's Alien before, I decided this was as good of a time as any to try it. I grabbed the RH 8.0 RPMs and the source RPMs, just in case.

I installed alien, rpm, libwxbase2.4, and libwxgtk2.4 as the web page said the programs depended on WXWin 2.4.

Converting the RPMs to .deb's was straightforward with alien and installation with dpkg completed without error. I attempted to start tqsl, but the startup failed. A quick ldd /usr/bin/tqsl revealed a dependency on libcrypto.so.2 that was not found. Using the package search page on the Debian site:

http://www.debian.org/distrib/packages

I found that it was a part of the libssl0.9.7 and libssl0.9.6 packages, the latter version being in the oldlibs section.

Well, I created a symlink to libcrypto.so.0.9.7 named libcrypto.so.2:

ln -s libcrypto.so.0.9.7 libcrypto.so.2

(actually I used Midnight Commander, but this is generic--don't forget you'll need to be root as these files reside in /usr/lib) and tried again. Running tqsl worked fine, but tqslcert failed with a relocation error.

Poking around in the README in the tqsllib archive I found where the library is dependent on OpenSSL 0.9.6. So I redid my symlink to point to libcrypto.so.0.9.6 and tqslcert loaded and ran.

In tqslcert I was able to create my certificate request and am now waiting for the authentication process.

One quirk or bug I noticed in tqslcert is that if the Help button is clicked and then the help window is backgrounded, the window that called the help window is frozen and will remain so until the help window is closed. This may be a problem in WxWin, I don't know.

So there you have it, my micro-HOWTO on LoTW on Debian Sarge (Testing).

73, de Nate >>

P.S. I keep this system updated about once per week. An older Testing snapshot may or may not work. The same caveat may apply to Sid (Unstable).

Signature · 5 lines
 Wireless | Amateur Radio Station N0NB          | "We have awakened a
 Internet | [email protected]               | sleeping giant and
 Location | Bremen, Kansas USA EM19ov           | have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a terrible resolve".
             http://www.qsl.net/n0nb/           | - Admiral Yamamoto
Signature · 2 lines
Bob Nielsen, N7XY                          n7xy (at) n7xy.net
Bainbridge Island, WA                      http://www.n7xy.net
#5 lore raw

Re: ARRL's LoTW with Debian Sarge (solved)

Anyone know if there is any chance to get this ARRL app. updated to work with the latest version of GTK ? i.e. It would seem simpler than fighting other programs that want to use the latest GTK.

73;

bob
w9ya

Quoted 113 lines · Bob Nielsen

I noticed that the download page now shows which version of GTK is required for the RH7 and RH8 version of TrustedQSL. With the RH7 version (converted to Debian with alien), I no longer receive the error message and was able to sign and upload my log files without further problems.

Bob, N7XY

Quoted 21 lines · Bob Nielsen

Has anybody tried TrustedQSL version 1.07? When I get to the point of creating the signed file, tqsl gives me the following error and then dies:

tqsl: relocation error: tqsl: undefined symbol:
tqsl_setADIFConverterDateFilte

I was able to create files with 1.06, but the LOTW system doesn't appear to like them and gives me this (I did successfully go through the certificate process):

2003-09-23 17:30:41 LOTW_QSO:  Error in record 3: No recognized signing

specification in tCONTACT record

I didn't have any of these problems with the beta-test versions.

This is on a Debian (mostly Sarge with a bit of Sid) system, using alien to convert the files. I also tried compiling from source, but had trouble with both trustedqsl (configure can't locate tqsllib even if I specify the location) and tqsllib (/usr/bin/ld: cannot find -liberty).

Quoted 79 lines

Puzzled,
Bob, N7XY

Quoted 75 lines · Nate Bargmann

Hello everyone.

For most on this list what I'm about describe is probably old hat, but there may be some newcomers that would find this helpful in the list archives.

As most are probably aware, the American Radio Relay League has been working for a few years on a way to digitally sign log submissions for electronic application for their various awards. In the October 2003 issue of QST (Amateur Windows? 8-) it has been announced that this program was opened to general use as of 15 September 2003. On the Logbook of The World web page:

http://www.arrl.org/lotw/

there is a library and programs for signing and generating log data for Linux. These programs are provided in binary form only for Red Hat 7.2 and 8.0 releases and are RPMs. Also provided are source RPMs for the library and the applications. These archives are not directly installable as managed packages on my Linux distribution of choice, Debian, so they must be converted using a utility called Alien.

Having never needed Debian's Alien before, I decided this was as good of a time as any to try it. I grabbed the RH 8.0 RPMs and the source RPMs, just in case.

I installed alien, rpm, libwxbase2.4, and libwxgtk2.4 as the web page said the programs depended on WXWin 2.4.

Converting the RPMs to .deb's was straightforward with alien and installation with dpkg completed without error. I attempted to start tqsl, but the startup failed. A quick ldd /usr/bin/tqsl revealed a dependency on libcrypto.so.2 that was not found. Using the package search page on the Debian site:

http://www.debian.org/distrib/packages

I found that it was a part of the libssl0.9.7 and libssl0.9.6 packages, the latter version being in the oldlibs section.

Well, I created a symlink to libcrypto.so.0.9.7 named libcrypto.so.2:

ln -s libcrypto.so.0.9.7 libcrypto.so.2

(actually I used Midnight Commander, but this is generic--don't forget you'll need to be root as these files reside in /usr/lib) and tried again. Running tqsl worked fine, but tqslcert failed with a relocation error.

Poking around in the README in the tqsllib archive I found where the library is dependent on OpenSSL 0.9.6. So I redid my symlink to point to libcrypto.so.0.9.6 and tqslcert loaded and ran.

In tqslcert I was able to create my certificate request and am now waiting for the authentication process.

One quirk or bug I noticed in tqslcert is that if the Help button is clicked and then the help window is backgrounded, the window that called the help window is frozen and will remain so until the help window is closed. This may be a problem in WxWin, I don't know.

So there you have it, my micro-HOWTO on LoTW on Debian Sarge (Testing).

73, de Nate >>

P.S. I keep this system updated about once per week. An older Testing snapshot may or may not work. The same caveat may apply to Sid (Unstable).

--

 Wireless | Amateur Radio Station N0NB          | "We have awakened a
 Internet | [email protected]               | sleeping giant and
 Location | Bremen, Kansas USA EM19ov           | have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a terrible resolve".
             http://www.qsl.net/n0nb/           | - Admiral Yamamoto

--
Bob Nielsen, N7XY n7xy (at) n7xy.net
Bainbridge Island, WA http://www.n7xy.net

#6 lore raw

ARRL's LoTW

I compiled from the source tarballs on a Mandrake 9.1 box. Things I found:

I had to install the static openSSL devel RPM, and libbinutils2-devel.

tqsllib-1.3 does not have a 'make install' target. I copied everything in /usr/local/src/tqsllib/.libs to /usr/local/lib, fixed up the symlinks and refreshed the linker cache.

In TrustedQSL-1.08, the ./configure script refused to find the newly installed libraries. The ./configure failed.

Using "./configure --with-tqsllib=/usr/local/lib" didn't help.

It appears the ./configure script tacks "/lib" onto the path, so "./configure --with-tqsllib=/usr/local" worked.

I then found that "make install" failed. It looks for a non-existent "licenses" directory.

Anyway, the 'tqsl' and 'tqslcert' applications both appear to work.

A pat on the back of ARRL for this initiative. Less time QSL-ing is more time on the air :-)

Wilbert, ZL2BSJ