Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

idevicebackup2: error

#323

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!!

Reported by r0941703960 · March 20th, 2013 @ 05:57 PM

State: invalid
Milestone: 1.2.0 Release
Assigned to: Martin S. Martin S.

Activity

  1. Bilson Pérez
    Bilson Pérez

    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

    April 11th, 2013 @ 08:51 AM

  2. Martin S.
    Martin S.
    • 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.

    July 1st, 2013 @ 04:06 PM

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.