How to find .so file in ubuntu?

I am developing a java project in which I have to give path of the vlc library.

Can anybody tell me where I can get .so file of vlc (vlc.so).

I have tried using -> whereis vlc.so.

I also tried to search directly in the system nothing found.

Kindly look into this.

Help appreciated.

Thanks

Hi,

Normally share object of vlc is under /usr/lib64/
search for libvlc.so instead of vlc.so
if you installed vlc from source code
search share library of vlc under /usr/local

1 Like

I don’t use debian based linux but in RHEL based linux the libraries are generally located under /usr/lib/ or /lib directory… Any way to find the location of any file bye using locate or find or command:

locate vlc.so

If the locate command didn’t show you any thing, try find command:

find / -iname ‘vlc.so

locate command searches it’s database therefore it’s faster and eat less resources but find command searches the given path therefore it’s much slower but more accurate.

Regards,
Sepahrad

1 Like