l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2002 Feb 15 09:34

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] misc. XF86 4 upgrade and accel 3D issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] misc. XF86 4 upgrade and accel 3D issues



On Friday 15 February 2002 03:04 am, nbs wrote:
> ...
> Terminus, unfortunately, won't run due to a libstdc++ conflict.  (A
> simple symblink won't fix it, so I've had to resort to e-mailing
> Vicarious Vision's support address.) ....

It's unfortunate that the libstdc++ so in various versions of gcc-2.9x 
have exactly the same name, yet are incompatible.  This makes it a pain
to use, for example, gcc-2.95.3 alongside Red Hat's various 2.96 versions.

What you can do is install the needed gcc and rename all occurrences of 
libstdc++ to something else (like libstdx++) in both this gcc installation
and in the apps that need it.  Here's a little script I wrote that helps 
with this:

#!/bin/bash
#
# Replace 'libstdc++' with 'libstdx++' in all "regular" files in
# the current directory tree.
#
touch rodsgarbage1 rodsgarbage2
echo " "
echo "Be patient, this may take a few minutes..."
sleep 1
echo "Scanning for 'libstdc++'..."
perl -pi -e 's/libstdc[+][+]/libstdx++/g' rodsgarbage2 `find -type f -exec grep -q libstdc[+][+] {} \; -print`
echo "Scanning for '-lstdc++'..."
perl -pi -e 's/-lstdc[+][+]/-lstdx++/g'   rodsgarbage2 `find -type f -exec grep -q lstdc[+][+] {}   \; -print`
echo " "
echo "The following files were changed:"
echo " "
rm rodsgarbage2
find -type f -newer rodsgarbage1
rm rodsgarbage1
echo " "

-- Rod
   http://www.sunsetsystems.com/
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.