Where does linux look for shared libs?
Posted
by EsbenP
on Server Fault
See other posts from Server Fault
or by EsbenP
Published on 2010-05-06T11:03:32Z
Indexed on
2010/05/06
11:08 UTC
Read the original article
Hit count: 303
I am trying to get the ar command on an embedded ARM computer running linux. I want to install debian and openjdk. It is a headless system. This is a custom linux distribution provided by the hardware manufacturer.
The debian installer is missing the ar command so i tried copying the binaries from the debian package, but when running ar I get error while loading shared libraries: libbfd-2.18.0-multiarch.20080103.so: cannot open shared object file: No such file or directory
libbfd is also in the package. I tried linking it to /lib and /usr/lib but I get the same message when running.
What is the best way to get debian and ar on a custom linux distro?
© Server Fault or respective owner