LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-05-2007, 10:28 AM   #1
nealg
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Question stdlibc++.so.5 missing from Slackware 11.0


I installed Slackware 11.0 on my Toshiba Libretto 110, and I'm now able to run X-Windows with WindowMaker. However, when I attempt to run either Firefox or Thunderbird, a messsage indicates that stdlibc++.so.5 is missing. I successfully compiled and ran a C++ program which uses "std::cout", so C++ really does work. Any advice would be greatly-appreciated.
 
Old 02-05-2007, 11:45 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
What version of gcc are you using? libstdc++.so.5 is from gcc-3.3.X.
 
Old 02-05-2007, 02:41 PM   #3
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
If it's in fact libstdc++ and not stdlibc++ your system is missing you'll find it in cxxlibs-5.0.7-i486-1 which is part of slack 10.2. You can install that along with cxxlibs-6.0.3 which comes with slack 11. (I did that the other way round before upgrading to 11.0)

I guess you're using an old (tgz?) version of firefox and thunderbird. Using a more recent version of these two should probably solve that problem.

Last edited by General Failure; 02-05-2007 at 02:45 PM.
 
Old 02-05-2007, 03:30 PM   #4
nealg
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Arow
What version of gcc are you using? libstdc++.so.5 is from gcc-3.3.X.
Hi Arow,
I'm using GCC 3.4.6, which was in the "d" package on Slackware 11.0

Thank you
 
Old 02-05-2007, 03:33 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"However, when I attempt to run either Firefox or Thunderbird, a messsage indicates that stdlibc++.so.5 is missing."

Firefox specifically requires "libstdc++5", regardless of what other version is installed on your machine. It's easy enough to install.

Added:
Make that firefox 2.0. I don't know about earlier versions.

Last edited by Quakeboy02; 02-05-2007 at 03:35 PM.
 
Old 02-05-2007, 03:36 PM   #6
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Ooops
[Post removed by me]
 
Old 02-05-2007, 03:37 PM   #7
nealg
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by General Failure
If it's in fact libstdc++ and not stdlibc++ your system is missing you'll find it in cxxlibs-5.0.7-i486-1 which is part of slack 10.2. You can install that along with cxxlibs-6.0.3 which comes with slack 11. (I did that the other way round before upgrading to 11.0)

I guess you're using an old (tgz?) version of firefox and thunderbird. Using a more recent version of these two should probably solve that problem.
Hi "General Failure",

Yes, I was definitely confused :-) The missing library was libstdc++.so.5

You definitely solved the problem. I downloaded and installed cxxlibs-5.0.7-i486-1. Both firefox and thunderbird can now be executed. I'll have to wait for my memory upgrade (which is on order) from 32 meg to 64 meg, to have a machine reasonably able to run a browser in Linux. At the moment, it just churns and churns the hard drive, while bits and pieces of the initial screen are painted.

Thank you very much for your help!
 
Old 02-05-2007, 03:50 PM   #8
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Happy to help

With 64MB you will be where I am now with my machine (see my sig). Nice to see someone else with such a high end computer The churning won't stop though but it will be tolerable (well, kind of...)

Edit: You really compiled on that machine? Wow

Last edited by General Failure; 02-05-2007 at 03:55 PM.
 
Old 02-06-2007, 01:45 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You might use the opera browser instead as it is much lighter. Or, download my package of either firefox or thunderbird -they both come with a version of the minimo browser and the embedded GTK browser (I set it up as an executable called 'smallfire'.
You might also use mozilla -installing firefox or thunderbird takes nearly as much space -installing both is bigger than mozilla, usually.
My packages for these are all compiled to use just GTK-1.2 -you don't need any GTK-2, gnome.

You'll finde them under here:
http://distro.ibiblio.org/pub/linux/.../Applications/

Last edited by gnashley; 02-06-2007 at 01:47 AM.
 
Old 02-06-2007, 08:44 AM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by Quakeboy02
Firefox specifically requires "libstdc++5", regardless of what other version is installed on your machine. It's easy enough to install.

Added:
Make that firefox 2.0. I don't know about earlier versions.
Really? I don't have that library on my machine and Firefox-1.5.7 and Firefox-2.0 both run fine built as 32-bit or 64-bit.
 
Old 02-06-2007, 01:51 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by gnashley
You might use the opera browser instead as it is much lighter.
Huh ? Opera ? Light(er) ? Are you sure ?

For a truly lightweight browser (and a FLOSS one as well, one with far fewer security holes ... and I know of many still applicable to Opera) I would recommend either links or dillo (not very good javascript support), or amaya (again, poor JS support), or maybe skipstone (if you can ever get it to work).
 
Old 02-07-2007, 06:30 AM   #12
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
modern X is quite heavy for such an system (i had one until one year ago), so
try to remove as much modules from xorg.conf as possible.
do you really need all those demons? rc.gpm ; rc.ssh ; rc.udev ;...
afterall you could just start them when you need them, right?
WindowMaker is nice, but fvwm might be a better choice.

Quote:
You might use the opera browser instead as it is much lighter. Or, download my package of either firefox or thunderbird -they both come with a version of the minimo browser and the embedded GTK browser (I set it up as an executable called 'smallfire'.
You might also use mozilla -installing firefox or thunderbird takes nearly as much space -installing both is bigger than mozilla, usually.
My packages for these are all compiled to use just GTK-1.2 -you don't need any GTK-2, gnome.
opera needs qt, forget it. however he is right to consider mozilla( called seamonkey now)
never heard of minimo, though.
personnaly i would just use "xterm -e pine" as a mail client and get dillo with patches.
if you're looking for other lightweight applications, have a look at dsl's applications page.

xterm also looks alot nicer, if you include something like this in your .Xresources:
Code:
XTerm*jumpScroll:               on
XTerm*multiScroll:              on
XTerm*ScrollBar:                false
Xterm*ForeGround:               grey
Xterm*Background:               black
Xterm*CursorColor:              red
XTerm*saveLines:                500
XTerm*sunFunctionKeys:          on
XTerm*cursorColor:              red
XTerm*FaceName:
XTerm*loginShell:               true
XTerm*pointerColor:             red
finally keep your swap small. this way programs get killed earlier.

Last edited by erklaerbaer; 02-07-2007 at 06:49 AM. Reason: +damnsmall
 
Old 02-07-2007, 07:16 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Actually Opera is quite nimble on small systems as compared to firefox-mozilla and others. I use the static-qt version since I don't install KDE stuff.
Minimo is a tiny GTK-embedded browser which is part of the mozilla/seamonkey project. It's supposed to be mostly for winCE or mips sstems on PDA's. I've simply compiled it for ix86-Linux, inlcuing a 2-line patch which makes it work with just GTK-1.2 instead of GTK-2.
The 'smallfire' I mentioned is just the GtkTestEmbed browser in a wrapper. The nice thing is that GtkTestEmbed is included even in thunderbird so you get a 'free' browser anyway. Minimo is based on the code for GtkTestEmbed, so I patch the Makefile and insert the patched source for Minimo so that it gets compiled along with the embedded browser.
The nice thing about these two is that they have nearly the full page-rendering capabilities of firefox/moz/seamonkey. but where firefox needs a minimum of about 50MB of RAM, minimo/GtkTestEmbed run with about 6-8MB and they also use less processes that the big brothers.
Sources:
http://distro.ibiblio.org/pub/linux/...cts/MinimoG12/

Packages of firefox, thunderbird and mozilla for GTK-1.2 can all be fond here:
http://distro.ibiblio.org/pub/linux/.../Applications/

I also have a project called 'chico', based on the early versions of skipstone (another GtkEmbed browser). It's an extremely simple implementation of the GtkEmbed which will compile against nearly any version of the mozilla/seamonkey/firefox/thunderbird sources -it needs only one mozilla header.
All of these will run with only 6-8MB of installed mozilla files, if you can figure out what can be left out. The mozilla "embedded" package is a little bigger, but incudes everything you need if properly prepared.
There's a package here:
http://distro.ibiblio.org/pub/linux/...0.1-i486-1.tgz

I also have the chimera Xlibs browser on my site -no extra libs needed but it's not pretty:
http://distro.ibiblio.org/pub/linux/....01-i486-1.tgz
 
Old 02-07-2007, 02:58 PM   #14
nealg
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks very much for all the help you folks have offered. I didn't have any idea how well it works to post a question here. Wow, I received an avalanche of advice! Anyhow, just an update. I received my memory upgrade yesterday and now the little Libretto 110CT can "boast" a terrifying 64MB of RAM! It is now able to easily handle both firefox and thunderbird (one at a time, of course).
Thanks again,
Neal
 
  


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
epoll missing on slackware 11.0?? flatline- Slackware 3 12-10-2006 02:02 PM
Slackware 10.0 missing gdkconfig.h why? zeos386sx Slackware 4 10-03-2004 09:19 PM
Kweather missing in Slackware 10 Danathar Slackware 1 08-29-2004 07:00 PM
KDE3.2 on Slackware - libkcm_arts.la missing? pbhj Linux - Software 5 04-14-2004 09:27 AM
Slackware 9.0 & missing partitions Weatherboy Slackware 4 08-01-2003 09:01 PM

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

All times are GMT -5. The time now is 03:47 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