[FGS] libstdc++.so.5 Problem

Guillaume Dallaire gdallaire at dmsolutions.ca
Thu Apr 28 06:55:48 EDT 2005


Hi Farley,

On Tue, 2005-04-26 at 10:23, Farley Klotz wrote:
> Hello,
> 
> We have downloaded and installed FGS from your site.  I have installed 
> it on on Fedora Core 4, because 3 was not happy with the updated bios on 
> the machine.
> 
> I'm getting errors from PHP and it seems the reason is that the 
> libstdc++.so.5 library is not available.  The dependency listings for 
> PHP, mapserver, gdal, etc all link to this library.
> 
> The only problem is, I cannot locate this library anywhere!
> 
> When I do a find I get:
> ./usr/share/doc/libstdc++-devel-4.0.0
> ./usr/lib/libstdc++.so.6.0.4
> 
> 
> Where can I find libstdc++.so.5?  Do I just need a dynamic link from 
> libstdc++.so.6.0.4?
> 

We didn't test FGS against Fedora Core 4 yet.

You can try to do :

$ ln -s /usr/lib/libstdc++.so.6.0.4 /usr/lib/stdc++.so.5

If the symbolic link doesn't help, you could try to copy
/usr/lib/libstd++.so.5.0.x from another machine installed with Fedora
Core < 4. Don't forget to create the symlink : /usr/lib/libstdc++.so.5
-> /usr/lib/libstdc++.so.5.0.5.

(I could send it to you if you don't have access to another linux box
having libstdc++.so.5) 

To see if all binary's dependencies are ok, use this command: 

$ ldd $FGS_HOME/www/cgi-bin/php4

will output the list of DLL (.so) files required to run php4 executable.

Guillaume



More information about the Foss-gis-suite mailing list