Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
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
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown Author PNG & SVG Books appearing in Home Tattvadarzin Kobo Reader 9 08-06-2021 11:25 AM
How to replace PNG images by SVG in epub? j.p.s ePub 38 08-12-2017 04:27 AM
Convert SVG to PNG/JPEG in ePUB files bunglegrind Conversion 2 04-24-2016 05:01 PM
svg image on top of a background png image roger64 ePub 25 04-24-2015 11:00 AM
Display of a png image linked to a svg image roger64 Editor 6 03-13-2015 06:21 AM


All times are GMT -4. The time now is 05:16 PM.


MobileRead.com is a privately owned, operated and funded community.