Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to deal with a lot of orphaned libraries?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 263

PostPosted: Thu Dec 31, 2015 2:09 am    Post subject: How to deal with a lot of orphaned libraries? Reply with quote

Hi,

I read about gentoo news "GCC 5 Defaults to the New C++11 ABI" and executed the suggested command to recompile the packages, during which I got a list of orphaned libraries:

Code:
 !!! Dependant orphaned files: No installed package was found for the following:
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/32/libasan.so.2.0.0
        * /usr/lib64/python2.7/site-packages/matplotlib/ttconv.so
        * /usr/lib64/python2.7/site-packages/matplotlib/_png.so
        * /usr/lib64/python2.7/site-packages/zmq/libzmq.so
        * /usr/lib64/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/obj.target/validation.node
        * /usr/lib64/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/validation.node
        * /usr/lib64/python2.7/site-packages/matplotlib/_tri.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libubsan.so.0.0.0
        * /usr/lib64/python2.7/site-packages/scipy/sparse/_sparsetools.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libtsan.so.0.0.0
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.so.0.0.0
        * /usr/lib64/python2.7/site-packages/matplotlib/backends/_backend_agg.so
        * /usr/lib64/python2.7/site-packages/matplotlib/ft2font.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/32/libubsan.so.0.0.0
        * /usr/lib64/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/obj.target/bufferutil.node
        * /usr/lib64/python2.7/site-packages/matplotlib/backends/_gtkagg.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/liblsan.so.0.0.0
        * /usr/lib64/python2.7/site-packages/matplotlib/_image.so
        * /usr/lib64/python2.7/site-packages/matplotlib/_contour.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.so.0.0.0
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1.0.0
        * /usr/lib64/python2.7/site-packages/matplotlib/_path.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/libtsan.so.0.0.0
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/libubsan.so.0.0.0
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libasan.so.2.0.0
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libasan.so.1.0.0
        * /usr/lib64/python2.7/site-packages/scipy/interpolate/_interpolate.so
        * /usr/lib64/python2.7/site-packages/matplotlib/_delaunay.so
        * /usr/lib64/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/bufferutil.node
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/liblsan.so.0.0.0
        * /usr/lib64/python2.7/site-packages/scipy/spatial/ckdtree.so
        * /usr/lib64/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
        * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libubsan.so.0.0.0


For .so files installed by python package, I thinks it is already that portage think they are not related to any known packages. But why there are orphaned libraries in my /usr/lib64 directory? Can I remove them?


Thanks,
David
_________________
David Shen
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Thu Dec 31, 2015 3:04 am    Post subject: Reply with quote

To be on the safe side, run python-cleaner first. You should be able to safely delete those ones, but leave the /usr/lib64/gcc/* ones alone until you get a second opinion.
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Thu Dec 31, 2015 8:39 am    Post subject: Reply with quote

You can try to rename the orphaned gcc files, and do a revdep-rebuild then. If nothing complains about missing librairies, it might be safe to remove them.

Gcc is a critical tool, but as it's its own compiler, re-emerging it if broken wouldn't be a problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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