[FGS] Unable to load dynamic library

Guillaume Dallaire gdallaire at dmsolutions.ca
Sat Jun 25 07:35:07 EDT 2005


On Sat, 2005-06-25 at 06:02, Samuel Smith wrote:
>  (Am Linux ~Newbie)
>         
>         A similiar issue came up in ~May 2005 from Bart Wood but remains
>         unresolved on the list.
>         
>         Am facing the following error:
>         
>         Warning: dl(): Unable to load dynamic library
>         '/opt/fgs/www/lib/php4/php_mapscript.so'
>         - /opt/fgs/lib/libnetcdf.so:
>         cannot restore segment prot after reloc: Permission denied
>         in /opt/fgs/apps/chameleon-2.0/htdocs/chameleon.php on line 432
>         
>         Fatal error: Call to undefined function: ms_reseterrorlist()
>         in /opt/fgs/apps/chameleon-2.0/htdocs/chameleon.php on line 553
>         
>         ldd on php_mapscript.so appears clean -- and the ldd on
>         ldd /opt/fgs/lib/libnetcdf.so returns "statically linked" --
>         seems fine
>         
>         I am on Fedora Core 4 (to make it difficult/fun).
>         
>         Suggestions/Comments are appreciated - Will report success /
>         failures
>         back to the list.

Hi Samuel,

on Fedora Core 4, I had to install this RPM:

http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/compat-libstdc++-33-3.2.3-47.fc4.i386.rpm

in order to get the FGS's Chameleon demo working.

If it still not work, please send me this informations (output):

$ ldd $FGS_HOME/www/lib/php4/php_mapsript.so

and from what file you did the installation (self-installer file name).

Guillaume



More information about the Foss-gis-suite mailing list