[FGS] libstdc++.so.5 not on my system
Guillaume Dallaire
gdallaire at mapgears.com
Sun Mar 19 14:18:26 EST 2006
On Sun, 2006-03-19 at 10:22 -0800, Bryan Keith wrote:
> 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?
Hi Bryan,
on my kubuntu system I had to install libstdc++5 using:
(I recommend to remove the symlink you did on /usr/lib/libstdc++.so.5
before running apt-get)
$ apt-get install libstdc++5
FGS 0.2 is built against GNU/libc 2.3 and libstdc++5 found on Debian
Sarge.
Guillaume
_____________________________________________
Guillaume DALLAIRE gdallaire at mapgears.com
Mapgears www.mapgears.com
_____________________________________________
More information about the Foss-gis-suite
mailing list