Gentoo Forums
Gentoo Forums
Quick Search: in
system screwed: libncurses.so.5, ... weired errors [solved]
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
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1214
Location: A t z e l, lower austria

PostPosted: Sun Nov 15, 2009 11:21 am    Post subject: system screwed: libncurses.so.5, ... weired errors [solved] Reply with quote

I hate this: I did emerge -e system today and now system is screwed. It began, because libcaca doesnt compiled, and so on.

I did emerge --keep-going -e system and now system is bah. I hate that.

Please help, or I do have to extract one stage3 archive again.

Code:
localhost lib # emerge -av ncurses
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] sys-libs/ncurses-5.7-r2 [5.7-r3] USE="cxx%* gpm%* unicode%* -ada% -debug% -doc% -minimal% -profile% -trace%" 0 kB

Total: 1 package (1 downgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

>>> Emerging (1 of 1) sys-libs/ncurses-5.7-r2
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * ncurses-5.7.tar.gz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[sys-libs/ncurses-5.7-r2] bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

>>> Failed to emerge sys-libs/ncurses-5.7-r2
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
localhost lib # ln -s lib/libncurses.so.5 lib/libncursesw.so.5
ln: creating symbolic link `lib/libncursesw.so.5': No such file or directory
localhost lib # cp libncursesw.so.5 /lib 
localhost lib # cp libncursesw.so.5 /lib
libncursesw.so.5    libncursesw.so.5.7 
localhost lib # cp libncursesw.so.5.7 /lib
localhost lib # emerge -av ncurses
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] sys-libs/ncurses-5.7-r2 [5.7-r3] USE="cxx%* gpm%* unicode%* -ada% -debug% -doc% -minimal% -profile% -trace%" 0 kB

Total: 1 package (1 downgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

>>> Emerging (1 of 1) sys-libs/ncurses-5.7-r2
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * ncurses-5.7.tar.gz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[sys-libs/ncurses-5.7-r2] bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

>>> Failed to emerge sys-libs/ncurses-5.7-r2
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
localhost lib # emerge portage
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Calculating dependencies... done!

>>> Verifying ebuild manifests
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

>>> Emerging (1 of 1) sys-apps/portage-2.1.7.4
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * portage-2.1.7.4.patch.bz2 RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * portage-2.1.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[sys-apps/portage-2.1.7.4] bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

>>> Failed to emerge sys-apps/portage-2.1.7.4
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3


Last edited by tw04l124 on Sun Nov 22, 2009 9:38 am; edited 1 time in total
Back to top
View user's profile Send private message
sebaro
l33t
l33t


Joined: 03 Jul 2006
Posts: 955
Location: Romania

PostPosted: Sun Nov 15, 2009 11:42 am    Post subject: Reply with quote

Do you have libncurses.so.5.7 in /lib?
I have this in /lib
Code:

sym /lib/libcurses.so -> libncurses.so.5.6
sym /lib/libncurses.so.5 -> libncurses.so.5.6
sym /lib/libcursesw.so -> libncursesw.so.5.6
obj /lib/libncurses.so.5.6
sym /lib/libncursesw.so.5 -> libncursesw.so.5.6
sym /lib/libncursesw.so -> libncursesw.so.5
sym /lib/libncurses.so -> libncurses.so.5
obj /lib/libncursesw.so.5.6

_________________
My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1214
Location: A t z e l, lower austria

PostPosted: Sun Nov 15, 2009 5:34 pm    Post subject: Reply with quote

well i used the binaries from arch linux, but my system had no ncureses libaries. hdd disk space was below 1 gb. but portage was screwed up. i hate that. new record for me this year. i was able to destroy portage 5 times, but not on purpose.

i think newest ncurses version on amd64 is bogus. i masked it
_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1214
Location: A t z e l, lower austria

PostPosted: Sun Nov 22, 2009 9:37 am    Post subject: Reply with quote

well a lot of libaries were broken. I didnt noticed that. Only way around was. Uninstall gnome and system libaries. Then go through kde4.3 and then reinstall gnome. Before I did reinstall some core libs, pango, cairo, directfb, poppler.

well, I think I will run revdep-rebuild after each emerge --update --deep -N world and every installation.

I hate that, that the system can be so easily screwed up.

Seems to be ok, now!!
_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Mon Nov 23, 2009 10:27 pm    Post subject: Reply with quote

You've destroyed portage 5 times? I suspect either memory problems or disk problems, or bad cflags, with the broken binaries you keep finding...
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
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