Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] unknown lib in /usr/lib, safe to remove ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 651
Location: Ásgarðr

PostPosted: Mon Jun 24, 2024 1:36 pm    Post subject: [SOLVED] unknown lib in /usr/lib, safe to remove ? Reply with quote

Hello,
I just noticed these old and probably unused libs in /usr/lib

-r--r--r-- 1 root root 187K 18 janv. 2020 libstorelib.so.4.02-0
-r--r--r-- 1 root root 540K 18 janv. 2020 libstorelibir-2.so.17.01-0
-r--r--r-- 1 root root 372K 18 janv. 2020 libstorelibir-3.so.2.02-0
-r--r--r-- 1 root root 300K 18 janv. 2020 libstorelibir.so.5.06-0

I tried to run equery b on them but can't find what packages they belong to. Can I safely remove them ?


Last edited by sdauth on Mon Jun 24, 2024 2:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6148
Location: Dallas area

PostPosted: Mon Jun 24, 2024 1:40 pm    Post subject: Reply with quote

since you know the date on the libs, run genlop for that day and see what you emerged.
_________________
UM780, 6.1 zen kernel, gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 651
Location: Ásgarðr

PostPosted: Mon Jun 24, 2024 1:48 pm    Post subject: Reply with quote

Unfortunately, I purge the genlop logs (and friends) every year :( So I can't go back that far.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6148
Location: Dallas area

PostPosted: Mon Jun 24, 2024 1:59 pm    Post subject: Reply with quote

googling one of the libs appears with lsi <something> or sas stuff.

Or you could run "strings - <lib> |less" and see if anything shows who/what


Probably safe to remove it though
_________________
UM780, 6.1 zen kernel, gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 651
Location: Ásgarðr

PostPosted: Mon Jun 24, 2024 1:59 pm    Post subject: Reply with quote

Found this :
https://github.com/mrlesmithjr/ansible-lsi-megaraid/blob/master/files/Linux/opt/MegaRAID/MegaCli/libstorelibir-2.so.14.07-0
So it seems related to megacli, it's been a long time... Maybe I tried to compile it & install outside of portage at some point when I was trying to get info from a raid controller then forgot to clean.
I will try to install megacli from portage to see what libs are installed.

edit : Indeed, this was megacli Anon-E-moose !

Code:
   /opt/megacli/lib/libstorelibir-2.so.14.07-0
   /opt/megacli/megacli
>>> Done.

>>> Installing (3 of 3) sys-block/megacli-8.07.14-r4::gentoo


portage install the lib in /opt
so I must have installed that a long time ago and forgot to clean..

thanks for the "strings" tips command, very useful.

Code:
strings libstorelib* | less | grep mega
_ZN16__LSI_STORELIB__11mapIOPacketEP9MFI_IOCTLPNS_17megasas_iocpacketE
_ZN16__LSI_STORELIB__29global_megaraid_app_hndl_attrE
sl_get_adapter_map: megaraid_sas driver found
megaraid_sas_app_hndl
/proc/bus/pci/drivers/megaraid_sas/support_poll_for_event
sl_proc_add_new_ld: Failed to open handle to /proc/scsi/megaraid_sas/support_poll_for_event
megaraid_sas_ioctl
/dev/megaraid_sas_ioctl_node
/proc/scsi/megaraid_sas
megaraid_swr_ioctl
/dev/megaraid_swr_ioctl_node
/proc/scsi/megasr
megaraid_sas
megasr
/sys/bus/pci/drivers/megaraid_sas/
/sys/bus/pci/drivers/megasr/
_ZN20__LSI_STORELIB_IR2__29global_megaraid_app_hndl_attrE
megaraid_sas_app_hndl
_ZN20__LSI_STORELIB_IR3__29global_megaraid_app_hndl_attrE
megaraid_sas_app_hndl
_ZN19__LSI_STORELIB_IR__29global_megaraid_app_hndl_attrE
megaraid_sas_app_hndl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum