JanLahmann / RasQberry

The RasQberry project: Exploring Quantum Computing and Qiskit with a Raspberry Pi and a 3D Printer
Apache License 2.0
134 stars 25 forks source link

ERROR: `GLIBC_2.35' not found when running several notebooks #159

Open cybersecfaith opened 3 weeks ago

cybersecfaith commented 3 weeks ago

Issue

When running a couple of the notebooks, the following error is presented:

Import Error /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.35' not found ( required by /home/pi/.local/lib/python3.9/site-packages/qiskit/_accelerate.abi3.so)

This issue has been seen in the following notebooks but may not be limited to only these as tests are still ongoing.

Details on current setup

Hardware used
- Raspberry Pi 4
- SanDisk Extreme Pro 64GB microSDXC UHS-I V30 card

Software used
- Raspberry Pi OS (Legacy 32 bit) with desktop
- Raspberry Pi Imager 1.8.5

Settings
- Default Username `pi` is used
- RasQberry is installed in the home directory of the default user `pi`

OS output

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.21-v7l+ #1642 SMP Mon Apr  3 17:22:30 BST 2023 armv7l GNU/Linux

Qiskit version

Successfully installed ibm-quantum-widgets-1.0.3
qiskit                  0.44.0
qiskit-algorithms       0.3.0
qiskit-dynamics         0.5.1
qiskit-experiments      0.5.4
qiskit-finance          0.4.0
qiskit-ibm-experiment   0.4.7
qiskit-machine-learning 0.7.2
qiskit-nature           0.7.2
qiskit-optimization     0.6.1
qiskit-terra            0.25.0

Analysis Done

Similar issues affecting different packages have been reported here https://github.com/numpy/numpy/issues/20371 and here https://groups.google.com/g/grpc-io/c/T91EyO81c8I .

JanLahmann commented 3 weeks ago

Thank you for the test report. It is the same issue I encountered when testing the setup with SenseHAT. I assume the qiskit install is broken. I’ll try to identify how the dependency on GLIBC_2.35 was introduced.