Hello
I am new to Linux and just migrated from XP.I needed to install some of the shared library ending with extensions .so I already have the file but just copying to lib folder didnt worked.
On 10/31/2010 10:36 AM, Aatish910 wrote:
>
> Hello
> I am new to Linux and just migrated from XP.I needed to install some of
> the shared library ending with extensions .so I already have the file
> but just copying to lib folder didnt worked.
For 32-bit systems, /lib may be correct; however, for x86_64 architecture, the
shared library files should be in /lib64. You must also make certain that the
files have the executable bit set. If any doubt, please run the command
ls -l /lib/<name of new so file>
and post the output.
We need a bit more information. Why is this library not installed as part of a
package?
Just or example I have a file called libmp3lame.so How do I install them so that other applications may find them and will be able to access them?
Hi
But if you install the associated rpm, it will install the relevant
library files?
If you want to add them, suggest you do it in /usr/local/lib64
or/usr/local/lib , then run ldconfig as long as the path is
in /etc/ld.so.conf or a conf file in /etc/ld.so.conf.d/ it will find
them.
However adding some so file may break your system.
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.23-0.3-default
up 2 days 6:54, 2 users, load average: 0.31, 0.18, 0.12
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12
On 2010-11-01 02:06, Aatish910 wrote:
>
> Just or example I have a file called libmp3lame.so How do I install them
> so that other applications may find them and will be able to access
> them?
You don’t.
You install the rpm package that contains that.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
You may find a recent thread of mine (where I got spanked) useful…
If it’s a shared library, there is a special path variable which likely needs to be configured in your application
Advice whether pointing LD_LIBRARY_PATH to PATH is a problem
In it, I describe how I mistakenly configured a Shared Library in the normal PATH, and was advised that only executables should be referenced by PATH, shared libraries should be configured in LD_LIBRARY_PATH only.
HTH,
Tony
HTH,
Tony