Thanks for the reply!

geos-3.4.2, gdal-1.9.2, qlandkartegt-1.7.5 - i compiled myself in clean 
Slackware 14.0.
libjpeg and other is Slackware 14.0 official packages.

# ls -l /usr/lib | grep libjpeg
-rw-r--r--   1 root root   255590 апр.   5  2010 libjpeg.a
-rwxr-xr-x   1 root root      914 апр.   5  2010 libjpeg.la
lrwxrwxrwx   1 root root       16 июля  16 19:38 libjpeg.so -> libjpeg.so.8.0.1
lrwxrwxrwx   1 root root       17 июля  16 19:34 libjpeg.so.62 -> 
libjpeg.so.62.0.0
-rwxr-xr-x   1 root root   126528 июня  29  2012 libjpeg.so.62.0.0
lrwxrwxrwx   1 root root       16 июля  16 19:38 libjpeg.so.8 -> 
libjpeg.so.8.0.1
-rwxr-xr-x   1 root root   216524 апр.   5  2010 libjpeg.so.8.0.1

libjpeg.so.62.0.0 is in aaa_elflibs-14.0-i486-4.txz 
(ftp://ftp.slackware.com/pub/slackware/slackware-14.0/slackware/a/)

# ldd /usr/bin/map2gcm | grep libjpeg
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb6e7a000)

What can be wrong?

Regards,
Dmitry



On Wed, 30 Oct 2013 21:15:26 +0100
Oliver Eichler <[email protected]> wrote:

> Hi Dmitry,
> 
> probably it is as reported. The binaries have been linked against another 
> version of libjpeg than installed on 
> the system. Usually the binary shouldn't start at all if the library is 
> missing. Can you compile yourself?
> 
> Oliver
> 
> > Hi Oliver,
> > 
> > Thank you very much for qlandkartegt. I really like it!
> > 
> > But I have a problem with the creation .kmz or other files.
> > I do the following:
> > F1->F6->Convert a TIFF into GeoTiff by geo referencing it.->Open gif->Add
> > Ref.->Start process F1->F6->Create map collection from existing
> > geo-referenced files->Create new *.qmap definitions->Add files->Save
> > File->Load Map->F1->F5->Select, in "Selected Maps" choose Export, choose
> > "Output path", "Garmin custom Map" for example and "Export" (if i use OSM
> > stream then the result is the same)
> > 
> > In Details
> > *************************************
> > Cut area from files...
> > -------------------------------------
> > /usr/bin/gdal_translate -co tiled=yes -co compress=DEFLATE -expand rgba
> > -srcwin 1228 304 1022 1023 /home/qwerty/QLk/100k--n37-115_ref.tif
> > /tmp/qlgt_3.T21740.tif Input file size is 2672, 3081
> > 0...10...20...30...40...50...60...70...80...90...100 - done.
> > 
> > *************************************
> > Combine files for each level...
> > -------------------------------------
> > copy /tmp/qlgt_3.T21740.tif ->/tmp/qlgt_4.T21740.tif
> > 
> > *************************************
> > Reduce color bands to 3 (RGB)...
> > -------------------------------------
> > /usr/bin/gdal_translate -b 1 -b 2 -b 3 -co tiled=yes -co compress=jpeg -co
> > jpeg_quality=100 /tmp/qlgt_4.T21740.tif /tmp/qlgt_5.d21740.tif Input file
> > size is 1022, 1023
> > 0...10...20...30...40...50...60...70...80...90...100 - done.
> > 
> > *************************************
> > Re-project files...
> > -------------------------------------
> > /usr/bin/gdalwarp -t_srs EPSG:4326 -ts 1022 1023 -r cubic -co tiled=yes -co
> > compress=jpeg -co jpeg_quality=100 /tmp/qlgt_5.d21740.tif
> > /tmp/qlgt_6.j21740.tif Creating output file that is 1022P x 1023L.
> > Processing input file /tmp/qlgt_5.d21740.tif.
> > 0...10...20...30...40...50...60...70...80...90...100 - done.
> > 
> > *************************************
> > Create Garmin Custom Map...
> > -------------------------------------
> > map2gcm -q 75 -s 411 -z 50 -t /tmp/qlgt_7.C21740.tif /tmp/qlgt_6.j21740.tif
> > /home/qwerty/QLk/QLk.qmap_37.2266_55.6425.kmz Wrong JPEG library version:
> > library is 62, caller expects 80
> > 
> > ****** map2gcm, Version 1.7.5 ******
> > 
> > 
> > ----------------------
> > /tmp/qlgt_6.j21740.tif:
> > projection: +proj=longlat +datum=WGS84 +no_defs
> > width: 1022 pixel height: 1023 pixel
> > area (top/left, bottom/right): 55.642523 37.226586, 55.524547 37.434740
> > xscale: 0.000204 deg/px, yscale: -0.000115 deg/px
> > real scale: 12.781195 m/px
> > Start to extract tiles and to build KMZ.
> > 
> > !!! failed !!!
> > 
> > 
> > I try the same thing in the console
> > 
> > qwerty@nbk:/tmp$ /usr/bin/gdal_translate -co tiled=yes -co compress=DEFLATE
> > -expand rgba -srcwin 1228 304 1022 1023
> > /home/qwerty/QLk/100k--n37-115_ref.tif /tmp/qlgt_3.T21740.tif Input file
> > size is 2672, 3081
> > 0...10...20...30...40...50...60...70...80...90...100 - done.
> > 
> > qwerty@nbk:/tmp$ cp /tmp/qlgt_3.T21740.tif /tmp/qlgt_4.T21740.tif
> > 
> > qwerty@nbk:/tmp$ /usr/bin/gdal_translate -b 1 -b 2 -b 3 -co tiled=yes -co
> > compress=jpeg -co jpeg_quality=100 /tmp/qlgt_4.T21740.tif
> > /tmp/qlgt_5.d21740.tif Input file size is 1022, 1023
> > 0...10...20...30...40...50...60...70...80...90...100 - done.
> > 
> > qwerty@nbk:/tmp$ /usr/bin/gdalwarp -t_srs EPSG:4326 -ts 1022 1023 -r cubic
> > -co tiled=yes -co compress=jpeg -co jpeg_quality=100 /tmp/qlgt_5.d21740.tif
> > /tmp/qlgt_6.j21740.tif Creating output file that is 1022P x 1023L.
> > Processing input file /tmp/qlgt_5.d21740.tif.
> > 0...10...20...30...40...50...60...70...80...90...100 - done.
> > 
> > 
> > qwerty@nbk:/tmp$ map2gcm -q 75 -s 411 -z 50 -t /tmp/qlgt_7.C21740.tif
> > /tmp/qlgt_6.j21740.tif /home/qwerty/QLk/QLk.qmap_37.2266_55.6425.kmz
> > 
> > ****** map2gcm, Version 1.7.5 ******
> > Segmentation fault
> > 
> > 
> > /tmp/qlgt_7.C21740.tif is lost?
> > 
> > My System - Slackware 14.0
> > JPEG library
> > ftp://ftp.slackware.com/pub/slackware/slackware-14.0/slackware/l/libjpeg-v8
> > a-i486-1.txt proj-4.8.0
> > geos-3.4.2
> > gdal-1.9.2
> > qlandkartegt-1.7.5
> > SlackBuilds from

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to