View previous topic :: View next topic |
Author |
Message |
sdauth l33t
Joined: 19 Sep 2018 Posts: 651 Location: Ásgarðr
|
Posted: Mon Jun 24, 2024 1:36 pm Post subject: [SOLVED] unknown lib in /usr/lib, safe to remove ? |
|
|
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 |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6148 Location: Dallas area
|
Posted: Mon Jun 24, 2024 1:40 pm Post subject: |
|
|
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 |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 651 Location: Ásgarðr
|
Posted: Mon Jun 24, 2024 1:48 pm Post subject: |
|
|
Unfortunately, I purge the genlop logs (and friends) every year So I can't go back that far. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6148 Location: Dallas area
|
Posted: Mon Jun 24, 2024 1:59 pm Post subject: |
|
|
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 |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 651 Location: Ásgarðr
|
Posted: Mon Jun 24, 2024 1:59 pm Post subject: |
|
|
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 |
|
|
|