#323 ✓invalid
r0941703960

idevicebackup2: error

Reported by r0941703960 | March 20th, 2013 @ 05:57 PM | in 1.2.0 Release

I had installed libimobiledevice-1.1.5,
and i wanted to backup iphone(JB, ios6.1.1, ubuntu:12.10),
the command :
mkdir bk
ubuntu:~$ idevicebackup2 backup bk

but it is error and stop.
and show:
idevicebackup2: error while loading shared libraries: libimobiledevice.so.4: cannot open shared object file: No such file or directory.

I had search for the key word like 'libimobiledevice.so.4:' or 'idevicebackup2 error'
but no answer can help me to slove it.

Please help me!!

Comments and changes to this ticket

  • Bilson Pérez

    Bilson Pérez April 11th, 2013 @ 08:51 AM

    If you've installed libimobiledevice in Ubuntu, the library "libimobiledevice.so.4" is expected to be installed in /usr/local/lib. I think that path is not in your $PATH variable. You can check it from a shell with:

    echo $PATH

    If your $PATH doesn't contain "/usr/local/lib", try this:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

    You can add this line to your $HOME/.bashrc, so you don't need to type it anymore before using idevicebackup2 or any other libimobiledevice tools.

    After that, this should work:
    idevicebackup2 backup bk

  • Martin S.

    Martin S. July 1st, 2013 @ 04:06 PM

    • State changed from “new” to “invalid”
    • Tag set to idevicebackup2, libimobiledevice
    • Assigned user set to “Martin S.”
    • Milestone set to 1.2.0 Release

    @Bilson: Thanks for the explanation. @r0941703960: If you configure the sources with "./configure --prefix=/usr", you won't have to deal with it. But as Bilson already described, the tool you are using is unable to locate the correct library most likely due to the paths missing.

    Closing as this is not a bug in libimobiledevice.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

People watching this ticket

Pages