GithubHelp home page GithubHelp logo

Comments (4)

genegoykhman avatar genegoykhman commented on May 26, 2024

I'm trying to set up icloudpd for the first time and ran into this problem as well. Not sure how to proceed.

from icloud_photos_downloader.

michaelmolino avatar michaelmolino commented on May 26, 2024

This sounds like an environment issue to me. It might be easier to build the docker image and run it from there. That said, this project is currently broken so you're going to get an authentication issue anyway. See #729 .

from icloud_photos_downloader.

yorkday avatar yorkday commented on May 26, 2024

I had the same issue, and found it was due to a lack of TMP directory in my environment variables (running on Synology). I didn't have this issue previously on Synology, so not sure if it was recently introduced problem with icloudpd, or my Synology. After fixing my temporary folder issue, I hit another issue, but that's unrelated.

Article: https://stackoverflow.com/questions/57796839/docker-compose-error-while-loading-shared-libraries-libz-so-1-failed-to-map-s

Steps I took were (change the path for your environment):

root@DiskStation:/usr/local/bin/scripts/backups_icloud# icloudpd
/usr/lib/python3.8/site-packages/icloudpd/icloudpd: error while loading shared libraries: libz.so.1: failed to map segment from shared object
root@DiskStation:/usr/local/bin/scripts/backups_icloud# mkdir tmp
root@DiskStation:/usr/local/bin/scripts/backups_icloud# export TMP=/usr/local/bin/scripts/backups_icloud/tmp
root@DiskStation:/usr/local/bin/scripts/backups_icloud# icloudpd
[26321] Error loading Python lib '/usr/local/bin/scripts/backups_icloud/tmp/_MEIhzdftS/libpython3.12.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /usr/local/bin/scripts/backups_icloud/tmp/_MEIhzdftS/libpython3.12.so.1.0)

from icloud_photos_downloader.

yorkday avatar yorkday commented on May 26, 2024

On further reading, it looks like it could be because the /tmp directory does not have execute privileges, so your choices are either to remount your current /tmp directory with these permissions, or create a separate tmp folder and export that to your path.

Investigating my Synology shows the /tmp path is 'noexec', meaning icloudpd couldn't execute something from the /tmp directory.

root@DiskStation:/tmp# mount | grep -i /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec)

from icloud_photos_downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.