New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: undefined reference to `usbmuxd_save_pair_record_with_device_id' #709
Comments
Solution:
|
I get the same when building on OSX 10.14 Mojave |
I had this same issue with the latest builds. Once I rolled back to fb71aee I was able to compile without issue. Unfortunately the workaround you mentioned didn't work for me. My (updated from git) usbmuxd headers are in /usr/include. I applied that and /usr/local/lib, with no change in the issue. Arch x64, linux-lts 4.14.69, gcc 8.2.1
|
Try removing the package that is provided by the distro of |
I get the same when building on raspberry pi 3B+(Raspbian GNU/Linux 9.1 (stretch)) |
I also rolled back to fb71aee ,that is ok |
In case this is of any help: I have a similar problem here on Arch (though only on one of my systems in spite of similar configurations). I kept getting systemd errors, saying |
Same here. Raspberry Pi 3B+ running Rasbian (stretch). @mcplectrum 's workaround did not work for me either but rolling back to fb71aee worked. Edit: I take it back. I just did a clean install and it worked. I had some of the libraries and usbmuxd that were installed from a previous apt-get install lying around. Removing those and recompiling usbmuxd worked. Edit 2: A year later I had to recompile it and I got the same error on a clean install. This time @mcplectrum 's workaround did work for me. Thanks @mcplectrum !!! |
Thanks tinwasp! After updating Arch to 4.20.0, I had multiple issues with xfce, including upower failing to start. Downgrading libimobiledevice solved my issues. Thanks |
Hi All: I am new to the libimobiledevice forum. Like Ethanas, I am also trying to install libimobiledevice suite on Raspberry PI 3B+ (Stretch Lite with openbox). Linux SSbase 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux. I am also getting the same error:CC idevice_id-idevice_id.o I am following steps from: raspbian-install.sh on https://gist.github.com/kfatehi/8922430#file-raspbian-install-sh-L13. Can someone please guide me through to resolve the issue? I greatly appreciate your help. Thanks |
You seem to have an older libusbmuxd package installed. Make sure to remove that. |
I tried to remove sudo apt-get remove libusbmuxd libimobiledevice |
In that case you somehow managed to install an older version of libusbmuxd. |
So how do I install the right one? I just followed the raspbian-install.sh script on Appreciate your prompt reply. I need to install the suite so that when a user connects the iOS device on the RPI3 B+, it gets notified with information about the hosted iOS device, at least for now. |
IGNORE THIS MESSAGE. Check @nikias message below.
|
@TitanFighter that is not the right approach. The symbol it can't find was added to libusbmuxd on September 15 with commit libimobiledevice/libusbmuxd@07a493a and libimobiledevice was updated to use that on September 29 with commit f1ee0fd. |
I just installed it on my raspberry pi 3 with the following commands: mkdir limd
cd limd
sudo apt-get install git build-essential libtool autoconf automake libusb-1.0-0-dev libssl-dev
git clone https://github.com/libimobiledevice/libplist.git
git clone https://github.com/libimobiledevice/libusbmuxd.git
git clone https://github.com/libimobiledevice/libimobiledevice.git
git clone https://github.com/libimobiledevice/usbmuxd.git
cd libplist
./autogen.sh
make && sudo make install
cd ..
cd libusbmuxd
./autogen.sh
make && sudo make install
cd ..
cd libimobiledevice
./autogen.sh --enable-debug-code
make && sudo make install
cd ..
cd usbmuxd
./autogen.sh
make && sudo make install
# one-time setup only:
sudo groupadd -r usbmux
sudo useradd -r -c 'USBMux user' -g usbmux -d /nonexistant -s /sbin/nologin usbmux
sudo ldconfig
sudo /etc/init.d/udev restart Plugged in device, trusted computer, then:
All working. I don't see what is going wrong there. |
@rajpancha1 check if you have any other libusbmuxd leftovers: $ find /usr -name "libusbmuxd*"
/usr/local/lib/libusbmuxd.so
/usr/local/lib/libusbmuxd.so.4
/usr/local/lib/libusbmuxd.a
/usr/local/lib/pkgconfig/libusbmuxd.pc
/usr/local/lib/libusbmuxd.so.4.1.0
/usr/local/lib/libusbmuxd.la That is my output. Just one library there. |
Thank you TitanFighter and Nikias. Following TitanFighter's suggestion I rebuilt the libimobiledevice. Then following Nikias suggestion, here's the output: /usr/share/doc/libusbmuxd4: |
@rajpancha1 Thanks for step-by-step commands. Also in my case the command: Found the solution here, ie P.S. Ubuntu 18.10 64 bit. |
@rajpancha1 as you can see, you have an older version from 2016:
So when linking libimobiledevice it will use that one. Also there's
Which denotes that it selected another package as default package.
If it still says package not installed, remove the files manually:
Also remove the lintian file:
Good luck. |
@TitanFighter there is no need to pass |
I just started restoring the flash from my pre-libimobiledevice journey. I'll let you know soon. |
1 similar comment
I just started restoring the flash from my pre-libimobiledevice journey. I'll let you know soon. |
Great! It works! sudo service usbmuxd start $ ideviceinfo -k ProductVersion |
After installing libimobiledevice suite, I am noticing that mouse and keyboard freezes. |
@rajpancha1 I never attached mouse or keyboard to the RPi but I somehow doubt this is related in any way. Is this happening also if no iOS device is plugged in? If you check the process list for usbmuxd:
If it doesn't show anything (except for a line with |
Hi,
I used this script: http://pastebin.com/6u0TEhjz to install the latest versions and running ./autogen.sh --enable-debug-code results in:
i did a grep on usbmuxd_save_pair_record_with_device_id, which results in:
The text was updated successfully, but these errors were encountered: