Quantcast
Viewing all articles
Browse latest Browse all 2671

Raspberry Pi OS • conflicting libdatrie.so.1 ?? HELP

Running rrdtool or pango-list/pango-view I get an invalid ELF header error

jansw@raspberrypi:~ $ rrdtool
rrdtool: error while loading shared libraries: /lib/arm-linux-gnueabihf/libdatrie.so.1: invalid ELF header

jansw@raspberrypi:~ $ pango-list
pango-list: error while loading shared libraries: /lib/arm-linux-gnueabihf/libdatrie.so.1: invalid ELF header

The version of libdatrie.so.1 is libdatrie.so.1.4.0

Previously both have been working in Rasperry Pi OS (running on a Raspberry Pi Zero). After "normal" installation of rrdtool with apt-get install rrdtool.

apt-get update and/or apt-get upgrade apt-get reinstall rrdtool do not help...

In an attempt to recompile rrdtool from scratch to solve this issue configure exits with a WARNING about pangocairo:

**..................
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpangocairo-1.0 and its header files. If
you have not installed pangocairo, you can get it either from its original home on

http://ftp.gnome.org/pub/GNOME/sources/pango/1.28

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of pangocairo is 1.28.4.

LIBS=-lpng -lm -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo
LDFLAGS=
CPPFLAGS= -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
----------------------------------------------------------------------------
checking for g_object_unref in -lgobject-2.0... yes
checking glib-object.h usability... yes
**... ... etc ... ...

================
It seems to miss pangocairo. But pangocairo is all around in my system:

jansw@raspberrypi: $ sudo find / -name pangocairo*
/usr/include/pango-1.0/pango/pangocairo.h
/usr/lib/arm-linux-gnueabihf/pkgconfig/pangocairo.pc

I am confused and don´t know where to look and how to solve this.

Statistics: Posted by jansw — Wed May 29, 2024 1:51 pm



Viewing all articles
Browse latest Browse all 2671