k3util 32-bit problem on Ubuntu

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

k3util 32-bit problem on Ubuntu

Mike Markowski-2
This is similar to the KX3 seg fault thread that is ongoing.

For the first time in a few months I tried to run k3util on a 64-bit Ubuntu
17.10 system and discovered that it no longer works.  I assume some OS
update removed the 32-bit files I used.  I *think* I used to have ia32-libs
installed for that.  I could be wrong, though, since that seems long out of
date.

Has anyone using Ubuntu got k3util to work?

Elecraft developers, any chance of a 64-bit version?  (Does anyone use
32-bit anymore?)

I'll tack on some possibly helpful info below.  Thanks!

73,
Mike ab3ap

ab3ap$ k3util
k3util: error while loading shared libraries: libstdc++.so.6: cannot open
shared object file: No such file or directory

ab3ap$ ldd k3util
    linux-gate.so.1 =>  (0xf7f0f000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7ece000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7eaf000)
    libstdc++.so.6 => not found
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7db0000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7d93000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7bbd000)
    /lib/ld-linux.so.2 (0xf7f11000)

ab3ap$ find /lib -name '*libstdc++*'
ab3ap$ find /lib32 -name '*libstdc++*'
ab3ap$ find /usr/lib -name '*libstdc++*'
/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++fs.a
/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so
/usr/lib/gcc/x86_64-linux-gnu/7/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/7/libstdc++fs.a
/usr/lib/gcc/x86_64-linux-gnu/7/libstdc++.so
/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++fs.a
/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.so
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.24
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
______________________________________________________________
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]
Reply | Threaded
Open this post in threaded view
|

Re: k3util 32-bit problem on Ubuntu

Gordon LaPoint
ia32-libs is no longer used in the newer versions of ubuntu (debian).  
Instead install:
lib32z1 lib32ncurses5 lib32bz2-1.0
This should fix the problems

Gordon - N1MGO



On 03/22/2018 11:52 AM, Mike Markowski wrote:

> This is similar to the KX3 seg fault thread that is ongoing.
>
> For the first time in a few months I tried to run k3util on a 64-bit Ubuntu
> 17.10 system and discovered that it no longer works.  I assume some OS
> update removed the 32-bit files I used.  I *think* I used to have ia32-libs
> installed for that.  I could be wrong, though, since that seems long out of
> date.
>
> Has anyone using Ubuntu got k3util to work?
>
> Elecraft developers, any chance of a 64-bit version?  (Does anyone use
> 32-bit anymore?)
>
> I'll tack on some possibly helpful info below.  Thanks!
>
> 73,
> Mike ab3ap
>
> ab3ap$ k3util
> k3util: error while loading shared libraries: libstdc++.so.6: cannot open
> shared object file: No such file or directory
>
> ab3ap$ ldd k3util
>      linux-gate.so.1 =>  (0xf7f0f000)
>      libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7ece000)
>      libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7eaf000)
>      libstdc++.so.6 => not found
>      libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7db0000)
>      libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7d93000)
>      libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7bbd000)
>      /lib/ld-linux.so.2 (0xf7f11000)
>
> ab3ap$ find /lib -name '*libstdc++*'
> ab3ap$ find /lib32 -name '*libstdc++*'
> ab3ap$ find /usr/lib -name '*libstdc++*'
> /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.a
> /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++fs.a
> /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so
> /usr/lib/gcc/x86_64-linux-gnu/7/libstdc++.a
> /usr/lib/gcc/x86_64-linux-gnu/7/libstdc++fs.a
> /usr/lib/gcc/x86_64-linux-gnu/7/libstdc++.so
> /usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.a
> /usr/lib/gcc/x86_64-linux-gnu/6/libstdc++fs.a
> /usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.so
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.24
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> ______________________________________________________________
> 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]


--
Gordon - N1MGO

______________________________________________________________
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]
Reply | Threaded
Open this post in threaded view
|

Re: k3util 32-bit problem on Ubuntu

kc2vic
In reply to this post by Mike Markowski-2
Mike,

Yes, this is probably along the lines of the thread I started.  However,
despite the internet running on Linux and it being open source, it seems to
infuriate people to see posts about it.

To answer your question, yes, there is an effort to make a 64 bit version.
I helped Dave Fleming who maintains the software for Elecraft test a 64 bit
version of the kx3util binary.  It worked perfectly with an up to date
Linux install.   Not sure what the timeline is for release but contact me
if you end up being stuck.  I would try installing the packages suggested
by  Gordon first.

Rob


On Mar 22, 2018 11:54 AM, "Mike Markowski" <[hidden email]> wrote:

This is similar to the KX3 seg fault thread that is ongoing.

For the first time in a few months I tried to run k3util on a 64-bit Ubuntu
17.10 system and discovered that it no longer works.  I assume some OS
update removed the 32-bit files I used.  I *think* I used to have ia32-libs
installed for that.  I could be wrong, though, since that seems long out of
date.

Has anyone using Ubuntu got k3util to work?

Elecraft developers, any chance of a 64-bit version?  (Does anyone use
32-bit anymore?)

I'll tack on some possibly helpful info below.  Thanks!

73,
Mike ab3ap

ab3ap$ k3util
k3util: error while loading shared libraries: libstdc++.so.6: cannot open
shared object file: No such file or directory

ab3ap$ ldd k3util
    linux-gate.so.1 =>  (0xf7f0f000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7ece000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7eaf000)
    libstdc++.so.6 => not found
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7db0000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7d93000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7bbd000)
    /lib/ld-linux.so.2 (0xf7f11000)

ab3ap$ find /lib -name '*libstdc++*'
ab3ap$ find /lib32 -name '*libstdc++*'
ab3ap$ find /usr/lib -name '*libstdc++*'
/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++fs.a
/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so
/usr/lib/gcc/x86_64-linux-gnu/7/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/7/libstdc++fs.a
/usr/lib/gcc/x86_64-linux-gnu/7/libstdc++.so
/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++fs.a
/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.so
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.24
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
______________________________________________________________
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]
______________________________________________________________
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]
Reply | Threaded
Open this post in threaded view
|

Re: k3util 32-bit problem on Ubuntu

Mike Markowski-2
In reply to this post by Gordon LaPoint
Thanks, Gordon.  lib32bz2-1.0 is not known by Ubuntu, but after some
experimenting and googling based on your help I discovered:

  apt-get install lib32stdc++6

Progress, but now:

  ab3ap$ ./k3util
Failed to find/load Framework library
/home/mm/ham/elecraft/k3/k3util_1_15_6_27/./RBGUIFramework.so: cannot
open shared object file: No such file or directory

Quick hack, I copied k3util into the "k3util Libs" directory [Unix name
with space (?) :-( ]  But no joy:

   ab3ap$ ./k3util
   Failed to find/load Framework library
   libgtk-x11-2.0.so.0: cannot open shared object file: No such file or
directory

Easy, right?  Install the aging gtk2:

   ab3ap# apt-get install libgtk2.0-0
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   libgtk2.0-0 is already the newest version (2.24.31-2ubuntu1).
   0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I forgot.  It's of course 64-bit, as one would expect, so:

   apt-get install libgtk2.0-0:i386

however this wants to install very many old 32-bit libraries.  Ugh.  I'm
reluctant to turn my machine into a relic for this old software, though
my K3 will become a (firmware) relic if I don't.  Not a good solution
either way.  Debating what to do...

73,
Mike ab3ap

On 03/22/2018 12:17 PM, Gordon LaPoint wrote:
> ia32-libs is no longer used in the newer versions of ubuntu (debian).
> Instead install:
> lib32z1 lib32ncurses5 lib32bz2-1.0
> This should fix the problems
>
> Gordon - N1MGO
______________________________________________________________
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]
Reply | Threaded
Open this post in threaded view
|

Re: k3util 32-bit problem on Ubuntu

Mike Markowski-2
In reply to this post by kc2vic
Rob and all,

On 03/22/2018 03:11 PM, Robert Felmey wrote:
> Yes, this is probably along the lines of the thread I started.  However,
> despite the internet running on Linux and it being open source, it seems
> to infuriate people to see posts about it.

:-)  I started a note and stopped several times over the past weeks for
that very reason.

> To answer your question, yes, there is an effort to make a 64 bit
> version.  I helped Dave Fleming who maintains the software for Elecraft
> test a 64 bit version of the kx3util binary.  It worked perfectly with
> an up to date Linux install.
Excellent news!  Thanks for sharing that.  I will stand in the shadows
and wait patiently now.  :-)

73!
Mike ab3ap
______________________________________________________________
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]