Skip to content
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

Cannot open shared library libmobiledevice.so.4 #31

Closed
mrPsycho opened this issue Nov 3, 2013 · 6 comments
Closed

Cannot open shared library libmobiledevice.so.4 #31

mrPsycho opened this issue Nov 3, 2013 · 6 comments
Labels

Comments

@mrPsycho
Copy link

mrPsycho commented Nov 3, 2013

hello,
i'm using linux mint and tried to install new libmobiledevice

installation was without errors, but i can't use anything:
"error while loading shared libraries: libmobiledevice.so.4: cannot open shared object file: No such file or directory"

Where i should look for it?

i checked /usr/local/lib - and there i can see libmobiledevice.so.4 and libmobiledevice.so.4.0.1

installation was in /usr/local

@iptux
Copy link

iptux commented Nov 4, 2013

use export LD_LIBRARY_PATH=/usr/local/lib, and then try to run new libimobiledevice in /usr/local/bin

@zed
Copy link

zed commented Dec 12, 2013

You could try to run ldconfig as a root:

# ldconfig -v |& grep mobile

@uncommonthinker
Copy link

Edit your .bashrc/.bash_profile file for root & local user and add the following lines :-
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
export PATH=$PATH:/usr/local/lib/

@kfatehi
Copy link

kfatehi commented Feb 10, 2014

This is what I understand to be the correct way to add the /usr/local/lib path to LD_LIBRARY_PATH permanantly:

echo /usr/local/lib > /etc/ld.so.conf.d/libimobiledevice-libs.conf && ldconfig

@nikias
Copy link
Member

nikias commented Sep 13, 2014

Assuming it works now.

@nikias nikias closed this as completed Sep 13, 2014
@matteyeux
Copy link

This command worked for me, thank you
export LD_LIBRARY_PATH=/usr/local/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants