Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zlib removed by mistake
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
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4019
Location: india

PostPosted: Mon Aug 20, 2012 7:06 am    Post subject: zlib removed by mistake Reply with quote

how to correct ?
i unmerged zlib version for upgrade as it was blocking.
now emerge is dead. how to recover?
Code:
tux / # emerge portage
Traceback (most recent call last):
  File "/usr/bin/emerge", line 39, in <module>
    from _emerge.main import emerge_main
  File "/usr/lib/portage/pym/_emerge/main.py", line 41, in <module>
    from _emerge.actions import action_config, action_sync, action_metadata, \
  File "/usr/lib/portage/pym/_emerge/actions.py", line 46, in <module>
    from portage.package.ebuild.doebuild import _check_temp_dir
  File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line 6, in <module>
    import gzip
  File "/usr/lib/python3.2/gzip.py", line 9, in <module>
    import zlib
ImportError: libz.so.1: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 44, in <module>
    from _emerge.main import emerge_main
  File "/usr/lib/portage/pym/_emerge/main.py", line 41, in <module>
    from _emerge.actions import action_config, action_sync, action_metadata, \
  File "/usr/lib/portage/pym/_emerge/actions.py", line 46, in <module>
    from portage.package.ebuild.doebuild import _check_temp_dir
  File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line 6, in <module>
    import gzip
  File "/usr/lib/python3.2/gzip.py", line 9, in <module>
    import zlib
ImportError: libz.so.1: cannot open shared object file: No such file or directory
tux / #

_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2867
Location: Omnipresent

PostPosted: Mon Aug 20, 2012 7:26 am    Post subject: Reply with quote

You could try a binary version of zlib from Tinderbox.
_________________
Personal overlay | Simple backup scheme
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