LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-05-2006, 08:53 PM   #1
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Rep: Reputation: 30
fluxbox startx error on 10.2 [solved]


EDIT: Scroll down to post #4 for the fluxbox error

I messed fluxbox up. I had version 0.9.13 and saw in Pat V's /slackware-current/xap version 1.0RC. I downloaded it and mistakenly entered the command:
Code:
installpkg fluxboxRC.tgz
That was wrong and I didn't realize this at the time. Now when I startx, x.org returns with a lengthy message explaining it can't use some shared library. To capture the exact error message, I tried:
Code:
startx > fluxboxMessage.txt
However when I try to open that file, I see a blank document. So, uh, what's the correct command to capture the error message? Once I've collectedthe entire message, then I can finish troubleshooting fluxbox.

Last edited by Drone4four; 07-05-2006 at 10:23 PM.
 
Old 07-05-2006, 08:55 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Theres already a log for X its usually in /var/log/ or one of its sub-directories.
 
Old 07-05-2006, 09:07 PM   #3
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by leonscape
Theres already a log for X its usually in /var/log/ or one of its sub-directories.
The fluxbox error includes mention of "libstdc++.so.6". My /var/log/Xorg.0.log does not mention that library. I'd post my entire Xorg log file, but it's too long for a single post, apparently. So is there any other way of recording the 10 or 20 lines I need?

Last edited by Drone4four; 07-05-2006 at 09:11 PM.
 
Old 07-05-2006, 09:23 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you want to divert standard output and standard error to the one destination, the following will do it:
Code:
startx &> fluxboxMessage.txt
This is the same as
Code:
startx > fluxboxMessage.txt 2>&1
 
Old 07-05-2006, 09:51 PM   #5
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gilead
If you want to divert standard output and standard error to the one destination, the following will do it:
Code:
startx &> fluxboxMessage.txt
This is the same as
Code:
startx > fluxboxMessage.txt 2>&1

Thanks gilead. Here is the error message when I try to load fluxbox:
Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/314:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.4.31 i686 [ELF] 
Current Operating System: Linux 314 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686
Build Date: 02 May 2006
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  5 22:47:49 2006
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Warning: Failed to open file(/usr/X11R6/share/fluxbox/nls/en_US/fluxbox.cat)
for translation, using default messages.
/usr/X11R6/bin/fluxbox: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

waiting for X server to shut down
What is this message trying to say?

edit:why exactly won't the topic to this thread not change according to the new title I just gave it?

edit:sp

Last edited by Drone4four; 07-05-2006 at 10:05 PM.
 
Old 07-05-2006, 10:00 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I hope it's as simple as not having the libstdc++.so.6 library installed. I'm running slackware -current and /usr/lib/libstdc++.so.6 was installed from the gcc-g++-3.4.6-i486-1 package. You might also have to run ldconfig after installing the package.
 
Old 07-05-2006, 10:08 PM   #7
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Like gilead said, it's either not having libstdc++.so.6 or having a different verion of libstdc++.so

libstdc++.so should be found under /usr/lib. See if you got one.
 
Old 07-05-2006, 10:23 PM   #8
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Thanks kevkim55 and gilead for your quick replies. It turns out that installing from -current gcc-g++ allows fluxbox to now start perfectly. That means libstdc++.so.6 was just out of date.

I'd like to change the topic of this thread by including "solved" but it won't let me. Why is that?
 
Old 07-05-2006, 10:44 PM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm glad it's working properly now

As far as changing the thread topic goes, I think that only the moderators can do that. Modifying the post subject as you already have done looks to be the best way.
 
  


Reply



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
MPlayer Error Message - Error Opening/Initializing Video Out Device Harpo Linux - Newbie 12 12-29-2009 11:26 PM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
how to capture oops message??? cranium2004 Linux - Newbie 0 01-06-2005 02:28 AM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
XAWTV video capture error seaelf Slackware 2 07-12-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration