Re: KX3util & XG3util on 64 bit Linux? FIXED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: KX3util & XG3util on 64 bit Linux? FIXED

Elecraft mailing list
Right..

Not exactly the usual done thing, answering ones own question, but here
goes...

~ ~ ~

I had previously performed:-

    $ sudo apt-add-architecture i386

as recommended elsewhere.  However that was not enough.

I found I also needed:-

    $ sudo apt install ia32-libs-multiarch

That pulls in a huge number of 32 bit compatibility libraries, and
enables "multi architecture support".

Now, the Elecraft XG3 and KX3 utilities run as advertised on this 64 bit
Linux Mint 19 system.
(Based on Ubuntu 18.04 I believe.)

Well, they work OK, but there is a warning shown when launched from a
command line.

(xg3util:1328): Gtk-WARNING **: 10:56:10.065: Unable to locate theme
engine in module_path: "adwaita",

That's one for the developer to figure out I suspect.  This system uses
the "Cinnamon" desktop.

Note!  The leading $ in the above command line examples, just signifies
that the command was entered into a terminal command line.  "sudo" is
needed to temporarily elevate oneself to "Root" privileges, as what is
needed, needs to be placed deep within the system, where ordinary users
cannot (usually) write to.  (The password it asks for, is your usual
login password.)

Hope the above helps someone else.

FYI:

Using the file command, will show you what sort of executable the
program is.

$ file ./xg3util
./xg3util: 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

Using the ldd command:-

$ ldd ./xg3util
    linux-gate.so.1 (0xf7f35000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7f05000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7ee6000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7d60000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7c5e000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7c40000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7a64000)
    /lib/ld-linux.so.2 (0xf7f37000)

You can now see the linkages (for example) between libc.so.6 as
requested by the program, it now points at the same name library in the
/lib/i386/i386-linux-gnu/ location.

In both the above examples, those commands were run from a terminal
session, while located in the folder where the xg3util program resides,
hence the preceding ./ before the filename.

73

    Dave G0WBX.


------------------------------------------------------------------------
On 21/12/2018 16:01, [hidden email] wrote:

> Subject: [Elecraft] KX3util & XG3util on 64 bit Linux?
>
> Hi.
>
> On Linux Mint 19, 64 bit.
>
> Have the 32 bit compatibility tools installed, but neither the XG3 or
> KX3 Utilities will launch, both complaining about
>
> dave@dave-HP-Compaq-8200-Elite-USDT-PC:~/Elecraft/xg3util_1_13_6_4$
> ./xg3util
> Failed to find/load Framework library
> /home/dave/Elecraft/xg3util_1_13_6_4/./RBGUIFramework.so: cannot open
> shared object file: No such file or directory
>
> To me, it looks like the path's are wrong.
>
> It's late here and the grey cell is fading.?? What's the fix?
>
> Thanks.
>
> Dave G0WBX.

--
Created on and sent from a Unix like PC running and using free and open source software:

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to [hidden email]