Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Deleted /lib64/libpcre.so.0 before revdep....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fhaddad78
n00b
n00b


Joined: 21 May 2012
Posts: 68

PostPosted: Mon May 28, 2012 6:44 am    Post subject: [Solved] Deleted /lib64/libpcre.so.0 before revdep.... Reply with quote

Hello.. I was in the process of doing an emerge --update... and after it completed successfully, the following message was posted.

Quote:
Old versions of installed libraries were detected on your system. In order to avoid breaking packages that depend on these old libs, the libraries are not being removed. You need to run revdep-rebuild in order to remove these old dependencies. If you do not have this helper program, simply emerge the 'gentoolkit' package.

# revdep-rebuild --library '/lib64/libpcre.so.0'

Once you've finished running revdep-rebuild, it should be safe to delete the old libraries. Here is a copy & paste for the lazy:
# rm '/lib64/libpcre.so.0'


So I typed revdep-rebuild (without the --library '/lib64...' part) and then deleted the file libpcre.so.0.. Apparently the extra parameters were required. (= So naturally, now I am getting emerge failures and I'm not sure how to resolve this.

Thanks!
Back to top
View user's profile Send private message
fhaddad78
n00b
n00b


Joined: 21 May 2012
Posts: 68

PostPosted: Mon May 28, 2012 7:19 am    Post subject: Reply with quote

I solved the problem (** I think **)

I probably got lucky, but what I did was create a symbolic link to the new file libpcre.so.1 called libpcre.so.0 and then ran the command:
Code:
revdep-rebuild --library '/lib64/libpcre.so.0'

...and everything worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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