[FGS] MrSID Support

Normand Savard nsavard at mapgears.com
Mon Jun 15 15:05:25 EST 2009


Wendell Dingus wrote:
> Yeah, this is an X86_64 system. One of our folks just added in an "-m32" to the gcc line and it compiled without complaint, but afterwards:
>
> [root at gis logs]# gdalinfo --formats 
> ERROR 1: /opt/fgs/apps/gdal/driver/gdal_MrSID.so: undefined symbol: _ZN14GDALRasterBand19ComputeRasterMinMaxEiPd 
> ERROR 1: /opt/fgs/apps/gdal/driver/gdal_MrSID.so: undefined symbol: _ZN14GDALRasterBand19ComputeRasterMinMaxEiPd 
>
> Should we just install FGS (9.5 I presume) on a 32-bit machine to get this linked in and move the resulting file back to this box?? We've tried running the "linux32" shell to fake it into thinking it's fully 32-bit instead of 64-bit, etc... No luck so far. I'd have guessed that's because 64-bit OS libraries are installed and not always the 32-bit equivalents are (this is on CentOS 5.3 BTW). But FGS appears to be built static, so that shouldn't matter right?
>
>   

Wendell,

I don't think it'll work because all FGS libraries are built in 32 
bits.  Your best option now is to download the FGS VM 9.5 from here:

 http://dev5.mapgears.com/debian-40r0-i386-netinst-fgs-9.5.tgz

and compiled all packages on your 64 bits.

Norm

> Thanks.
>
> PS. You said "Make sure you use the 64 bits version of Geo_DSDK-7.0.0.2167". I got that and un-tarred it to a different path. Trying to use it fails because it wants to link against a 64-bit version of libgeotiff which isn't there because as far as I know FGS is only offered compiled as 32-bit?
>
>
> ----- "Normand Savard" <nsavard at mapgears.com> wrote: 
>   
>> Wendell Dingus wrote: 
>>     
>>> Than you very much! 
>>>
>>> But... No joy as of yet... 
>>>
>>> [root at gis lib]# sh mrsid_ld.sh 
>>> Where is installed the software development kit? 
>>> /opt/mrsid/Geo_DSDK-7.0.0.2167 
>>> /usr/bin/ld: skipping incompatible 
>>> /opt/mrsid/Geo_DSDK-7.0.0.2167/lib/Release/libltidsdk.a when searching 
>>> for -lltidsdk 
>>> /usr/bin/ld: cannot find -lltidsdk 
>>> collect2: ld returned 1 exit status 
>>>
>>> [root at gis lib]# cat /opt/mrsid/Geo_DSDK-7.0.0.2167/VERSION.txt 
>>> Name: GeoExpress Decode SDK 
>>> Version: 7.0.0.2167 
>>> Platform: linux.x86.gcc41 
>>> Build type: Release 
>>>
>>> [root at gis fgs-9.5]# set | grep FGS_HOME 
>>> FGS_HOME=/opt/fgs-9.5 
>>>
>>> I wasn't sure if you had done this against the "1.0" or "9.5" versions 
>>> so we installed both as /opt/fgs-9.{1,5} and have been symlink either 
>>> or the other to /opt/fgs/ for testing. 
>>>
>>>       
>> Wendell, 
>>
>> This message means that you're trying to link mrsiddataset.o and 
>> mrsidstream.o 32 bits objects with libltidsdk.a static 64 bits 
>> library. All FGS packages are built within 32 bits architecture. Make 
>> sure you use the 64 bits version of Geo_DSDK-7.0.0.2167. 
>>
>> Norm 
>>
>>     
> _______________________________________________
> Foss-gis-suite mailing list
> Foss-gis-suite at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/foss-gis-suite
>
>   



More information about the Foss-gis-suite mailing list