[Elecraft] KX3 Utility Linux version
Dave B
g8kbvdave at googlemail.com
Wed Jun 13 04:34:07 EDT 2018
Don't forget ...
sudo apt install curl
on a command line, If you find it errors trying to get the firmware
updates from Elecraft.
Also, it's just:-
file kx3util
on a command line, from within the directory where the "target" file
(kx3util) is, to find out it's details.
dave at G0WBX-Dell-System-XPS-L502X ~/Elecraft/kx3util_1_14_4_11 $ file kx3util
kx3util: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.0, stripped
(an older version of the utility.)
73.
Dave G0WBX (currently using Mint 17.2 32 bit.)
On 12/06/18 15:11, elecraft-request at mailman.qth.net wrote:
> Subject: Re: [Elecraft] KX3 Utility Linux version
> Message-ID: <6574D2AC-395D-4538-9761-7A53B5CEAB37 at sy-edm.com>
> Content-Type: text/plain; charset=utf-8
>
> KX3 Utils
>
> I am running a totally basic Ubuntu Environment (64 bit).
>
> I will get the KX3 Utils, extract and check the file type
>
> mkdir /elecraft
> chdir /elecraft
> wget http://www.elecraft.com/software/KX3/KX3UtilityLINUX_1_16_6_25.tgz
> tar -zxvf KX3UtilityLINUX_1_16_6_25.tgz
> cd kx3util_1_16_6_25
>
> Now to see what this file is
>
> file file kx3util
>
> I get the following output?.
>
> kx3util: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.0, stripped
>
> Ok - it is a 32bit Image? So it will not run.
>
> Here?s how to fix it, by adding the i386 Package ability, and then adding some needed libs
>
> dpkg --add-architecture i386
> apt-get update
> apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
>
> Now if I check the file kx3util I can see it has resolved the i386 links (because I added the the i386 libs)
>
> ldd kx3util
> linux-gate.so.1 => (0xf77d0000)
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf77c4000)
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf77a7000)
> libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7630000)
> libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75db000)
> libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75be000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7407000)
> /lib/ld-linux.so.2 (0xf77d1000)
>
> Hope that is a slightly clearer instruction.
>
> Should you want to automate this using Docker, this is the docker script for this.
>
>
> FROM ubuntu:16.04
> MAINTAINER a45wg at sy-edm.com
>
> #Purpose of this project is test KX3 util
> #by adding i386 lib references
> #It will pull the elecraft kx3 utility into /elecraft
> #
> #Suggested Build:
> # docker -t test/kx3:1.0 dockerfile
> #
> #Suggested Run:
> # docker run -it test/kx3:1.0
> run apt-get update && \
> apt-get install wget -y
>
> run dpkg --add-architecture i386 && \
> apt-get update && \
> mkdir /elecraft && \
> chdir /elecraft && \
> wget http://www.elecraft.com/software/KX3/KX3UtilityLINUX_1_16_6_25.tgz && \
> tar -zxvf KX3UtilityLINUX_1_16_6_25.tgz && \
> apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386
>
>
>
> Best regards
>
> Tim, A45WG => DU3/M0FGC
--
Created on and sent from a Unix like PC running and using free and open source software:
More information about the Elecraft
mailing list