Page MenuHomeAleph Objects Inc

Trouble running Cura on new Ubuntu 18.04 install
Open, NormalPublic


Ticket: 204,999

Operating System: Ubuntu 18.04

Log file: Awaiting on Customer response

Cura version: 3.6.8

Detailed Description: I was able to install Cura using the instructions on this page. I followed the instructions to install the "buster" version since I am running Bionic. Unfortunately, when I try to run it, I get a runtime error:

gmadrid@turncoat:~$ cura-lulzbot
/usr/share/cura-lulzbot/cura-lulzbot: /lib/x86_64-linux-gnu/ version `GLIBC_2.28' not found (required by /usr/share/cura-lulzbot/cura-lulzbot)

I have tried upgrading libc6, but it appears that 2.27 is the latest version for Bionic:

read less
gmadrid@turncoat:~$ sudo apt install libc6
[sudo] password for gmadrid:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version (2.27-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Here are a couple of things that may be useful:

read less
gmadrid@turncoat:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
gmadrid@turncoat:~$ uname -a
Linux turncoat 4.15.0-1039-oem #44-Ubuntu SMP Sun May 19 07:35:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Had customer try HarlemSquirrel's response on code ticket T5835

Customer reply: HarlemSquirrel had a different problem relating to "readline" and not "libc6". I tried doing what he did with libc6, but I was unable to install the dpkg after downloading it. apt reported inconsistencies that would arise and refused to finish the installation.

Event Timeline

johnson created this task.Jun 10 2019, 1:36 PM

Adding this ticket to thread 205,578

I recently purchased a used Lulzbot mini, and I'm trying to install your
Cura software on my Ubuntu 18.04 system. I ensured that my system was up
to date, and followed the instructions on your website, but I get a
version mismatch in the glibc library. It appears that I'm not the only
one with the problem, as there's this posting on your message board
(I've posted my own follow-up).

I can probably fix this by building Cura from source, but I can't seem
to find the source anywhere. I see several (different) pointers to
various repositories, all of which look to be several years old, and
they don't seem to have the source code anyway. Cura is open-source,

Your help is appreciated, as I'd like to get an initial print running on
my printer this weekend if possible.

Additional information from ticket 205,578:

Any progress on this issue? I'd like to get my printer up and running soon.

I've tried installing and building from the source, but somehow the dependencies are not getting linked together properly. The installation instructions aren't very clear (or I should say, mostly non-existent), so I'm having to guess. I think I've got everything downloaded and installed, including Protobuf, libArcus, CuraEngine, Uranium, and cura-lulzbot. All of the "make install" scripts seem to complete successfully, but when I try to run my local build of "cura-lulzbot" I get:

Traceback (most recent call last):

File "/usr/local/bin/cura-lulzbot", line 10, in <module>
  from UM.Platform import Platform

ModuleNotFoundError: No module named 'UM'
This looks like it's not finding the Uranium stuff. Not being a Python programmer, I'm not sure what needs to be fixed. If you can point me to better build instructions for cura-lulzbot, I would appreciate it.

youngmrcarlson added a subscriber: youngmrcarlson.EditedJul 6 2019, 12:06 AM

On a fresh installation of Ubuntu 18.04.2 LTS I installed Cura LE 3.6.13 via apt and had the same issue described. I was able to do a local build of 3.6.14, install the resulting .deb, and it launched successfully. Unsure if the magic sauce was building from source, or if 3.6.14 contains a fix that resolves this issue.

For further testing, I saved the pre-compiled package of 3.6.14 and attempted to install it on a fresh Ubuntu 18.04.2.

  1. Install Cura LE 3.6.13 (just as an easy way of installing all the dependencies we'll need)
wget -qO - | sudo apt-key add -

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak && sudo sed -i '$a deb buster main' /etc/apt/sources.list && sudo apt-get update && sudo apt-get install cura-lulzbot
  1. Install Cura LE 3.6.14
sudo dpkg -i Downloads/cura-lulzbot-3.6.14-Linux.deb
  1. If you try to launch Cura LE now you'll see an error, because for some reason we're still missing something. For some reason numpy-stl heals our ailments:
sudo apt-get install numpy-stl

Not sure of the exact mechanics of why this works. It's possible numpy-stl itself isn't what we're missing (it hasn't been listed as a dependency for the couple versions of Cura LE I compared), but by installing it, we're also installing (a) dependenc(y/ies) common to cura-lulzbot.

  1. Now we can launch Cura LE

I presume this all works because it was compiled on 18.04.2, which means it used libc6 v2.27, unlike the current Cura LE package for Buster, which uses libc6 v2.28 (T6632#122359). Seems this issue is identical to T6632.

$ apt-cache policy libc6
  Installed: 2.27-3ubuntu1
  Candidate: 2.27-3ubuntu1
karrad assigned this task to alexei.Sep 6 2019, 3:25 PM
jebba added a subscriber: jebba.Sep 6 2019, 4:49 PM

Perhaps when new build system gets set up we can add Ubuntu and AppImage targets.

alexei triaged this task as Normal priority.Sep 9 2019, 2:47 PM
alexei changed the edit policy from "All Users" to "Cura LulzBot Edition (Project)".

I suggest to update Ubuntu to 19.04 (18.10 is at EOL)

@alexei This ticket is in regards to 18.04 which is the latest LTS version with an EOL of April 2028