Perhaps Elecraft could compile this app in both 32-bit and 64-bit flavors. Dealing with this kind of Linux stuff is not something most people should have to do.
Jim/KA2RVO On Tue, Jun 12, 2018 at 2:26 AM a45wg <[email protected]> wrote: > 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 [email protected] > > #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 > > ______________________________________________________________ > Elecraft mailing list > Home: http://mailman.qth.net/mailman/listinfo/elecraft > Help: http://mailman.qth.net/mmfaq.htm > Post: mailto:[email protected] > > This list hosted by: http://www.qsl.net > Please help support this email list: http://www.qsl.net/donate.html > Message delivered to [email protected] ______________________________________________________________ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:[email protected] This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html Message delivered to [email protected]

