LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2009, 03:31 AM   #1
Mogaba
LQ Newbie
 
Registered: Feb 2008
Distribution: openSUSE, Gentoo
Posts: 10

Rep: Reputation: 0
Broken man pages


Hello,

I have problems with man pages after updating Gentoo and running etc-update for updating configuration files. For any man page I have this error:

Code:
webhost / # man dir
Formatting page, please wait...
/usr/bin/gtbl: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
groff: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
But library libstdc++.so.6 exists:

Code:
webhost / # find / -name "libstdc++\.so\.6"
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6
This is a link to libstdc++.so.6.0.10, located in the same folder.

Maybe there must be another link elsewhere?
 
Old 07-08-2009, 07:54 AM   #2
Mogaba
LQ Newbie
 
Registered: Feb 2008
Distribution: openSUSE, Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Problem solved - gcc profile was corrupted.
 
Old 07-08-2009, 08:00 AM   #3
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Ok I see, you need to run this actually :

Hi, can you post this :

Code:
# revdep-rebuild --ignore
# gcc-config -l
I think that you need to run this script :

Code:
# /usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/fix_libtool_files.sh
 
Old 07-08-2009, 08:06 AM   #4
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Ok :P
 
Old 07-09-2009, 01:09 AM   #5
Mogaba
LQ Newbie
 
Registered: Feb 2008
Distribution: openSUSE, Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Code:
# gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.3.2

# gcc-config 1
* Switching native compiler to i686-pc-linux-gnu-4.3.2 ... [ok]

# emerge -v gcc					        // just in case :)

# fix_libtool_files.sh 4.3.2				// don't remember output
Everything works fine!

BTW, Gentoo caches viewed man pages by copying bz2 files to /var/cache/man/cat<number> folders, so, if some viewed pages were corrupted, it is necessary to delete these files after recovering.

Thanks for help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use man pages babu198649 Linux - Newbie 15 10-12-2007 10:17 AM
C man pages sono2 Programming 4 09-12-2005 02:24 AM
C man pages sono2 Linux - Software 2 09-09-2005 01:24 PM
argh man pages broken sh1ft Slackware 7 08-30-2004 10:33 AM
can't see man pages Elbolton Linux - Newbie 5 03-07-2002 12:14 AM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration