Cura won't run on Ubuntu 18.04 wrong GLIBC required

Get answers & advice for all of your 3D printing & Free Software needs here!
Post Reply
etothex23
Posts: 3
Joined: Wed Sep 27, 2017 9:21 pm

Cura won't run on Ubuntu 18.04 wrong GLIBC required

Post by etothex23 » Thu May 23, 2019 8:57 pm

I have a fresh install of 18.04. Cura installs but when I try to open it I get the following error:
/usr/share/cura-lulzbot/cura-lulzbot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/share/cura-lulzbot/cura-lulzbot)

output of ldd --version:

ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

You can see that the required library is 2.28 but Ubuntu 18.04 has 2.27. I have updated the OS

User avatar
Orias
Aleph Objects | LulzBot
Posts: 1473
Joined: Wed Mar 27, 2013 1:24 pm
Location: US

Re: Cura won't run on Ubuntu 18.04 wrong GLIBC required

Post by Orias » Fri May 24, 2019 8:05 am

Try installing this version: http://download.alephobjects.com/ao/aod ... _amd64.deb and use the instructions here to install: https://www.lulzbot.com/learn/tutorials ... ion-ubuntu
Once downloaded, in a terminal navigate to the directory containing the file and send the following command:

Code: Select all

sudo dpkg -i cura-lulzbot-version.deb
If that version works for you, great! If not, reach out to the support team at https://LulzBot.com/Support and they'll be able to help.

bpbutler1234
Posts: 2
Joined: Fri Jun 14, 2019 1:40 pm

Re: Cura won't run on Ubuntu 18.04 wrong GLIBC required

Post by bpbutler1234 » Fri Jun 14, 2019 1:43 pm

I have the exact same problem. It seems like the Ubuntu version was built against the wrong library version.

I would rebuild from source, which should resolve the problem, but I can't seem to find the source anywhere.

bpbutler1234
Posts: 2
Joined: Fri Jun 14, 2019 1:40 pm

Re: Cura won't run on Ubuntu 18.04 wrong GLIBC required

Post by bpbutler1234 » Mon Jun 24, 2019 12:20 am

Am I the only one with this problem? I can't seem to get it fixed on my own.

I've tried installing an earlier version of cura-lulzbot (3.6.3) and I get the same error.

I've tried downloading and building from source, including (I hope) all of the dependencies, but I get a Python error:
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'
I'm pretty sure this is a basic Python error, but since I know next to nothing about Python, I don't know how to fix it. I was not able to find a comprehensive set of build instructions, so I had to fumble my way through, and I have no idea if everything got built and installed correctly.

For the record, here are the dependencies I've installed:
Protobuf
libArcus
CuraEngine
Uranium
cura-lulzbot

I sure would like to get this fixed, since my printer is sitting here gathering dust.

User avatar
Orias
Aleph Objects | LulzBot
Posts: 1473
Joined: Wed Mar 27, 2013 1:24 pm
Location: US

Re: Cura won't run on Ubuntu 18.04 wrong GLIBC required

Post by Orias » Tue Jun 25, 2019 7:15 am

Reach out to the support team if you haven't already at https://LulzBot.com/Support. We'll also note this in a related ticket on our code tracker: https://code.alephobjects.com/T7718

carlson
Aleph Objects | LulzBot
Posts: 4
Joined: Wed Jul 19, 2017 10:26 am

Re: Cura won't run on Ubuntu 18.04 wrong GLIBC required

Post by carlson » Thu Jul 11, 2019 9:46 am

I've been able to successfully launch Cura LE on Ubuntu 18.04 by doing a local build to get around the dependency issue. Here's the instructions to do so if you wish to try it yourself:

Install build libraries and dependencies

Code: Select all

sudo apt-get install python libsm-dev libxi-dev libfontconfig1-dev libbsd-dev libxdmcp-dev libxcb1-dev libgl1-mesa-dev libgcrypt20-dev liblz4-dev liblzma-dev libselinux1-dev libsystemd-dev libdbus-1-dev libstdc++-6-dev libglib2.0-dev libc6-dev libssl1.0-dev libtinfo-dev libreadline-dev libharfbuzz-dev libxkbcommon-dev gfortran gcc uuid-dev git wget curl cmake build-essential
Setup project directories

Code: Select all

mkdir Projects && mkdir Projects/cura
cd into our cura directory

Code: Select all

cd Projects/cura/
Clone into repo

Code: Select all

git clone https://code.alephobjects.com/source/curabuild-lulzbot.git build-master
Create folders for build

Code: Select all

mkdir build-master/build && cd build-master
Run the build script. Go ahead and put that casserole in the oven - this could take about 90 minutes.

Code: Select all

./build_deb_package.sh
Install the freshly-generated DEB package. Replace 3.6.15 with your version if different.

Code: Select all

cd && sudo dpkg -i Projects/cura/build-master/build/cura-lulzbot-3.6.15-Linux.deb

Post Reply