ihrapsa / OctoWrt

A guide to install Octoprint on the Creality WiFi Box or similar OpenWrt devices
80 stars 26 forks source link

PIP Install - Error relocating /usr/lib/libpython3.10.so.1.0: #18

Closed collaboratips closed 2 years ago

collaboratips commented 2 years ago

Hello, Thanks for your help.

During the installation I get stuck after dependencies installation. just after : opkg install v4l-utils.... the wget command starts to failed (Error relocating). I removed wget-ssl and reinstalled wget and I could go on.

But after Python3 installation, trying to install Octoprint I got those errors :

root@KlipperWrt:/# pip install Octoprint==1.7.3 Error relocating /usr/lib/libpython3.10.so.1.0: getitimer_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: __setitimer_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: sigtimedwait_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: pthread_cond_timedwait_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: __dlsym_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: lstat_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: gettimeofday_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: stat_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: wait3_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: localtime64_r: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: __utimensat_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: futimens_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: clock_gettime64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: __fstatat_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: getrusage_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: sem_timedwait_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: clock_settime64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: fstat_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: clock_getres_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: select_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: mktime64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: wait4_time64: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: __gmtime64_r: symbol not found Error relocating /usr/lib/libpython3.10.so.1.0: sched_rr_get_interval_time64: symbol not found root@KlipperWrt:/#

I'm lost. I restarted the installation from scratch, but same thing.

Thank you for your help.

ihrapsa commented 2 years ago

Why don't you follow the Automatic steps?

collaboratips commented 2 years ago

Thank you for your answer. I tried, same result. At a moment I'm stuck too, same error, and the installation failed :( . I blame my poor linux knowledges.

ihrapsa commented 2 years ago

Are you using the new octowrt image linked?

collaboratips commented 2 years ago

In fact, I started with the tuto of Hypermakes, the goal is to install of course Octoprint.

ihrapsa commented 2 years ago

Read the github repo. Follow the Automatic steps

collaboratips commented 2 years ago

I flashed the : fluiddWrt-FACTORY-ramips-mt76x8-creality_wb-01-squashfs-k5.10.46.binn.bin from KlipperWrt v2.1.

Then after configuration and the first script execution , I switched to you (wonderful, thank you :) ), git.

I didn't flash the sysupgrade bin as advised in the automatic configuration

collaboratips commented 2 years ago

Ok I got it, I'm gonna flash your version and I keep you posted. Thanl you !!!

ihrapsa commented 2 years ago

Read the github repo guide. You need to flash the Octowrt image

collaboratips commented 2 years ago

thank you and sorry because I didn't follow your steps ! Very nice too take the time to help.

collaboratips commented 2 years ago

@ihrapsa, It works ! thank you very much again. I just have to find a way to use my cam.