# Unable to start on Ubuntu 20.04

**URL:** <https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474>\
**Category:** Logic 2 Software\
**Created:** [April 28, 2020, 8:58am UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474 "2020-04-28T08:58:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![martonmiklosqdev\_sal](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@martonmiklosqdev\_sal](https://discuss.saleae.com/u/martonmiklosqdev_sal)\
**Post date:** [April 28, 2020, 8:58am UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/1 "2020-04-28T08:58:13Z")

</div>

Hello Folks,

I recently updated to Ubuntu 20.04 and Logic2 now fails to start due to a missing libffi.so.6 shared object.

According to the available packages it looks that Ubuntu only ships libffi7 in 20.04.

```
mm@mm-precision:~$ /opt/Logic-2.x.appimage 
/tmp/.mount_Logic-3VYMph ~
~
Environment
  Executable path: /tmp/.mount_Logic-3VYMph/Logic
  Executable directory: /tmp/.mount_Logic-3VYMph
  Original working directory: /home/mm
  Current working directory: /tmp/.mount_Logic-3VYMph
Python Home: /tmp/.mount_Logic-3VYMph/resources/linux/pythonlibs
/home/mm/.config/Logic/logs/graphio-2020-04-28--10-57-38.log
2020-04-28 10:57:38.449829:[0x00007f9403673200]: boost::log::keywords::file_name: /home/mm/.config/Logic/logs/graphio-2020-04-28--10-57-38.log [/home/vsts/work/1/s/core/saleae_base/src/saleae_log.cpp:150: void Saleae::SetLogFileName(const char*)]
2020-04-28 10:57:38.449829:[0x00007f9403673200]: boost::log::keywords::file_name: /home/mm/.config/Logic/logs/graphio-2020-04-28--10-57-38.log [/home/vsts/work/1/s/core/saleae_base/src/saleae_log.cpp:150: void Saleae::SetLogFileName(const char*)]
2020-04-28 10:57:38.449993:[0x00007f9403673200]: boost::log::keywords::target_file_name: /home/mm/.config/Logic/logs/graphio-2020-04-28--10-57-38--%5N.log [/home/vsts/work/1/s/core/saleae_base/src/saleae_log.cpp:151: void Saleae::SetLogFileName(const char*)]
2020-04-28 10:57:38.449993:[0x00007f9403673200]: boost::log::keywords::target_file_name: /home/mm/.config/Logic/logs/graphio-2020-04-28--10-57-38--%5N.log [/home/vsts/work/1/s/core/saleae_base/src/saleae_log.cpp:151: void Saleae::SetLogFileName(const char*)]
2020-04-28 10:57:38.450027:[0x00007f9403673200]: boost::log::keywords::target: /home/mm/.config/Logic/logs [/home/vsts/work/1/s/core/saleae_base/src/saleae_log.cpp:152: void Saleae::SetLogFileName(const char*)]
2020-04-28 10:57:38.450027:[0x00007f9403673200]: boost::log::keywords::target: /home/mm/.config/Logic/logs [/home/vsts/work/1/s/core/saleae_base/src/saleae_log.cpp:152: void Saleae::SetLogFileName(const char*)]
terminate called after throwing an instance of 'std::runtime_error'
  what(): ImportError('libffi.so.6: cannot open shared object file: No such file or directory')
  File "/tmp/.mount_Logic-3VYMph/resources/linux/pythonlibs/lib/python3.8/site-packages/numpy/ __init__.py", line 142, in <module>
    from . import core
  File "/tmp/.mount_Logic-3VYMph/resources/linux/pythonlibs/lib/python3.8/site-packages/numpy/core/ __init__.py", line 106, in <module>
    from . import _dtype_ctypes
  File "/tmp/.mount_Logic-3VYMph/resources/linux/pythonlibs/lib/python3.8/site-packages/numpy/core/_dtype_ctypes.py", line 25, in <module>
    import _ctypes

Failed to get crash dump id.
Report Id: {"response":"ok","_rxid":"16000000-d
Terminated (core dumped)
```

---

<div class="post-metadata">

**Author:** ![Collin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/collin/32/53_2.png) [@Collin](https://discuss.saleae.com/u/Collin)\
**Post date:** [April 28, 2020, 5:15pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/2 "2020-04-28T17:15:02Z")

</div>

You’re right, if you upgrade and let it remove “unneeded” packages it will remove libffi version 6 and you’re sunk. I upgraded but told it not to remove the unneeded packages and the software works fine. You can also copy the .6 file from an older install of Ubuntu, 18.04 through 19.10 and that copied file will then work.

---

<div class="post-metadata">

**Author:** ![martonmiklos](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/martonmiklos/32/411_2.png) [@martonmiklos](https://discuss.saleae.com/u/martonmiklos)\
**Post date:** [April 28, 2020, 8:51pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/3 "2020-04-28T20:51:57Z")

</div>

Well on my home box I was lucky the libffi6 remained on the system, however once the Logic2 starts it greets me with a blank black screen (after the Saleae logo and the initializing text disappear):

 ![kép](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/f9badb813b1d625594baac9b1bf0f5bb67a36de5.png)

In the command line output I do not see any suspicious.

---

<div class="post-metadata">

**Author:** ![Collin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/collin/32/53_2.png) [@Collin](https://discuss.saleae.com/u/Collin)\
**Post date:** [April 29, 2020, 12:17am UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/4 "2020-04-29T00:17:24Z")

</div>

Hmm, I know this isn’t helpful to you but as a baseline, I’m on 20.04 and it does work for me. At least, I was able to start it and the screen looks normal. Someone else reported being able to use it after copying the .6 library from Ubuntu 18. So, we’re two out of three. I don’t know what is the difference for you. One thing I might inquire about, though, is whether you might have an add-on graphics card? I’m using a laptop with an nVidia GTX 1650 in it but I’m running Linux and currently have the nVidia card disabled and I’m just using the built-in Intel graphics. This is working for me. But, I wonder if you might be having a graphics card driver issue? I don’t know how you’d test that unless you also have two graphics cards and can select the other one.

---

<div class="post-metadata">

**Author:** ![martonmiklosqdev\_sal](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@martonmiklosqdev\_sal](https://discuss.saleae.com/u/martonmiklosqdev_sal)\
**Post date:** [April 29, 2020, 11:46am UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/5 "2020-04-29T11:46:17Z")

</div>

Thanks for the reply Collin. I also have an NVS nVidia card in may notebook, and I think it is using that one (having nvidia drivers installed).

---

<div class="post-metadata">

**Author:** ![chris.peterson](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@chris.peterson](https://discuss.saleae.com/u/chris.peterson)\
**Post date:** [April 30, 2020, 4:06pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/6 "2020-04-30T16:06:06Z")

</div>

I am getting the same error on the latest Manjaro as well.  
I downloaded the previous version from here: [https://archive.archlinux.org/packages/l/libffi/libffi-3.2.1-4-x86\_64.pkg.tar.xz](https://archive.archlinux.org/packages/l/libffi/libffi-3.2.1-4-x86_64.pkg.tar.xz)  
I then extracted Logic from the appimage  
./Logic-2.2.13-master.AppImage --appimage-extract  
And placed the libffi.\* from the above pkg into the root of the extracted folder and everything worked for me.

---

<div class="post-metadata">

**Author:** ![rani](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/rani/32/343_2.png) [@rani](https://discuss.saleae.com/u/rani)\
**Post date:** [April 30, 2020, 4:35pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/7 "2020-04-30T16:35:52Z")

</div>

We’re planning to fix these issues, for old versions of Mac and new versions of Linux, very soon. Hopefully, in a week or two.  
It’s not an easy task to support all platforms, and especially Linux distros 🙂  
Sorry about that anyway…

---

<div class="post-metadata">

**Author:** ![martonmiklos](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/martonmiklos/32/411_2.png) [@martonmiklos](https://discuss.saleae.com/u/martonmiklos)\
**Post date:** [April 30, 2020, 6:35pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/8 "2020-04-30T18:35:57Z")

</div>

No worries, I know how hard could be a the multiplatform deployment.

---

<div class="post-metadata">

**Author:** ![bas.vermeulen](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bas.vermeulen/32/485_2.png) [@bas.vermeulen](https://discuss.saleae.com/u/bas.vermeulen)\
**Post date:** [May 12, 2020, 2:32pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/9 "2020-05-12T14:32:06Z")

</div>

I was able to use Logic 2…15 by running it as root, using `sudo Logic --no-sandbox`. YMMV.

---

<div class="post-metadata">

**Author:** ![martonmiklosqdev\_sal](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@martonmiklosqdev\_sal](https://discuss.saleae.com/u/martonmiklosqdev_sal)\
**Post date:** [May 12, 2020, 2:52pm UTC](https://discuss.saleae.com/t/unable-to-start-on-ubuntu-20-04/474/10 "2020-05-12T14:52:49Z")

</div>

–no-sandbox did the trick for me on my work machine. Hopefully it will work on my home box as well.
