Thread: K4 Convert SVG to PNG
View Single Post
Old 09-17-2023, 07:21 AM   #1
japafrite
Junior Member
japafrite began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2023
Device: Kindle 4
Convert SVG to PNG

Hi,

On a Kindle 4 I installed this weather station :
https://github.com/mattzzw/kindle-weatherstation

During SVG to PNG conversion I got these errors :
Quote:
/mnt/us/extensions/weatherstation/bin/rsvg-convert: /usr/lib/libxml2.so.2: no version information available (required by /mnt/us/extensions/weatherstation/lib/librsvg-2.so.2)
/mnt/us/extensions/weatherstation/bin/rsvg-convert: /usr/lib/libxml2.so.2: no version information available (required by /mnt/us/extensions/weatherstation/lib/librsvg-2.so.2)
/mnt/us/extensions/weatherstation/bin/rsvg-convert: /usr/lib/libxml2.so.2: no version information available (required by /mnt/us/extensions/weatherstation/lib/librsvg-2.so.2)
/mnt/us/extensions/weatherstation/bin/rsvg-convert: /usr/lib/libxml2.so.2: no version information available (required by /mnt/us/extensions/weatherstation/lib/librsvg-2.so.2)
/mnt/us/extensions/weatherstation/bin/rsvg-convert: /usr/lib/libxml2.so.2: no version information available (required by /mnt/us/extensions/weatherstation/lib/libcroco-0.6.so.3)
/mnt/us/extensions/weatherstation/bin/rsvg-convert: symbol lookup error: /mnt/us/extensions/weatherstation/lib/librsvg-2.so.2: undefined symbol: g_malloc_n
I checked with all other versions of rsvg-convert and librsvg-2.so.2 (found here http://archive.debian.org/debian/poo.../libr/librsvg/) but at least same errors.

I tried to convert the svg file with this other project (that works on my K4) : https://github.com/scolby33/weather_kindle, still same error
Quote:
bin/rsvg-convert: symbol lookup error: /mnt/us/weather/lib/librsvg-2.so.2: undefined symbol: g_malloc_n
So, my conclusion is a compatibility problem between svg file / K4 and conversion library.

Do you have some advice concerning this ? It could be svg size problem or other ?

Next tests wil be to iterate on svg file in order to find a workaround, but it is dirty...
japafrite is offline   Reply With Quote