osy / Jitterbug

Launch JIT enabled iOS app with a second iOS device
Apache License 2.0
1.14k stars 91 forks source link

Error while loading shared libraries #84

Open MaSchlongBingBong opened 1 year ago

MaSchlongBingBong commented 1 year ago

Installed jitterbug pair for Linux and tried running with the terminal. I made sure that I have usbmuxt, netmuxt and libplist (from the extra repository). It failed gave this output: ./jitterbugpair: error while loading shared libraries: libplist.so.3: cannot open shared object file: No such file or directory

DavidDGTNT commented 1 year ago

Same issue here using Arch Linux.

plutack commented 1 year ago

same here. did you ever find a way around this?

Stetsed commented 11 months ago

I can confirm I have ran into this issue, however I was able to get around it by doing "ln -s /usr/lib/libplist++-2.0.so /usr/lib/libplist.so.3" however do this at your own risk.

sigaloid commented 5 months ago

For me, I ran sudo ln -s /usr/lib64/libplist++-2.0.so /usr/lib64/libplist.so.3 because it was in /usr/lib64.

Fedora 40 here

endy128 commented 1 month ago

Looks like you can also use patchelf:

$ patchelf --print-needed ./jitterbugpair 
libplist.so.3
libp11-kit.so.0
libpthread.so.0
libc.so.6

$ patchelf --remove-needed libplist.so.3 ./jitterbugpair 
$ patchelf --print-needed ./jitterbugpair 
libp11-kit.so.0
libpthread.so.0
libc.so.6

$ patchelf --add-needed libplist-2.0.so ./jitterbugpair 
$ patchelf --print-needed ./jitterbugpair 
libplist-2.0.so
libp11-kit.so.0
libpthread.so.0
libc.so.6
JumpIn-Git commented 1 month ago

please add this to the markdown, how to make jitterbug work on linux: Make sure usbmuxd, libplist (libplist-dev on debian/ubuntu) and libmobiledevice (libmobiledevice-dev on debian/ubuntu) are installed. Make sure /usr/lib/libplist.so.3 exists, if not run sudo ln -s /usr/lib/libplist++-2.0.so /usr/lib/libplist.so.3