[FGS] libstdc++.so.5 not on my system

Bryan Keith dabbits at yahoo.com
Sun Mar 19 13:22:15 EST 2006


Hello list,

I am using ubuntu 5.10:

$ cat /proc/version
Linux version 2.6.12-9-386 (buildd at rothera) (gcc
version 3.4.5 20050809 (prerelease) (Ubuntu
3.4.4-6ubuntu8)) #1 Mon Oct 10 13:14:36 BST 2005

I installed fgs but don't have libstdc++.so.5 so I get
this message:

$ldd $FGS_HOME/www/cgi-bin/php4 | grep libstdc
        libstdc++.so.5 => not found

I find that I do have a couple libstdc files:

$ ls /usr/lib | grep libstdc
libstdc++.so.6
libstdc++.so.6.0.5

so I set up a link to one these files (it doesn't
matter which file; I tried both):

$ sudo ln -s /usr/lib/libstdc++.so.6.0.5
/usr/lib/libstdc++.so.5

I can see the chameleon sample applications page:

http://127.0.0.1:8080/chameleon/samples/

but when I try to go to any of the applications, for
example:

http://127.0.0.1:8080/chameleon/samples/sample_basic_plainbuttons.phtml

I get this error:

Warning: dl(): Unable to load dynamic library
'/home/bryan/fgs/www/lib/php4/php_mapscript.so' -
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not
found (required by
/home/bryan/fgs/lib/libmap.so.4.8.1) in
/home/bryan/fgs/apps/chameleon-2.2.1/htdocs/chameleon.php
on line 487

Fatal error: Call to undefined function:
ms_reseterrorlist() in
/home/bryan/fgs/apps/chameleon-2.2.1/htdocs/chameleon.php
on line 627

My guess is that I need a different version of
libstdc, probably libstdc++.so.5.  If I copy that file
into the /usr/lib directory, will I solve this
problem?  Where do I get a copy of this file?

Thank you,

Bryan

Bryan Keith
Boulder, CO, USA

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Foss-gis-suite mailing list