<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Du brauchst noch das Paket libunistring-dev<div><br></div><div>Stefan<br><br><div id="AppleMailSignature" dir="ltr">Von meinem iPad gesendet</div><div dir="ltr"><br>Am 30.01.2019 um 12:27 schrieb <a href="mailto:mopped_martin@web.de">mopped_martin@web.de</a>:<br><br></div><blockquote type="cite"><div dir="ltr"><div style="font-family: Verdana;font-size: 12.0px;"><div style="font-family: Verdana;font-size: 12.0px;">
<div>Hallo zusammen,</div>
<div> </div>
<div>ich versuche den Volkszähler auf einem Raspberry Pi Raspbian zu installieren.</div>
<div> </div>
<div>Version:</div>
<div>
<div>pi@raspberrypi:~/Volkszaehler $ lsb_release -a<br>
No LSB modules are available.<br>
Distributor ID: Raspbian<br>
Description: Raspbian GNU/Linux 9.6 (stretch)<br>
Release: 9.6<br>
Codename: stretch</div>
<div> </div>
</div>
<div> </div>
<div>Vorgehen:</div>
<div> </div>
<div>1. Obwohl das wohl nicht nötig war:</div>
<div> </div>
<div>
<div>sudo apt-get install git cmake autoconf libtool uuid-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev libgcrypt20-dev libmicrohttpd-dev libsasl2-dev</div>
<div> </div>
<div>2.</div>
</div>
<div>wget --no-check-certificate <a href="https://raw.github.com/volkszaehler/vzlogger/master/install.sh" target="_blank">https://raw.github.com/volkszaehler/vzlogger/master/install.sh</a></div>
<div>mv install.sh vz-install.sh</div>
<div>
<div>./vz-install.sh</div>
<div> </div>
</div>
<div>
<div>[ 88%] Building CXX object src/CMakeFiles/vzlogger.dir/PushData.cpp.o<br>
cd /home/pi/vzlogger/build/src && /usr/bin/c++ -DHAVE_CONFIG_HPP -I/usr/local/include -I/home/pi/vzlogger/build -I/home/pi/vzlogger/include -I/home/pi/vzlogger -W -Wall -Wextra -Werror -Wnon-virtual-dtor -Wno-system-headers -Winit-self -Wmissing-include-dirs -Wno-pragmas -Wredundant-decls -Wno-unused-parameter -std=c++11 -fpermissive -Wno-error=redundant-decls -Wno-ignored-qualifiers -g3 -o CMakeFiles/vzlogger.dir/PushData.cpp.o -c /home/pi/vzlogger/src/PushData.cpp<br>
[ 91%] Linking CXX executable vzlogger<br>
cd /home/pi/vzlogger/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vzlogger.dir/link.txt --verbose=1<br>
/usr/bin/c++ -W -Wall -Wextra -Werror -Wnon-virtual-dtor -Wno-system-headers -Winit-self -Wmissing-include-dirs -Wno-pragmas -Wredundant-decls -Wno-unused-parameter -std=c++11 -fpermissive -Wno-error=redundant-decls -Wno-ignored-qualifiers CMakeFiles/vzlogger.dir/vzlogger.cpp.o CMakeFiles/vzlogger.dir/ltqnorm.cpp.o CMakeFiles/vzlogger.dir/Meter.cpp.o CMakeFiles/vzlogger.dir/__/gitSha1.cpp.o CMakeFiles/vzlogger.dir/CurlSessionProvider.cpp.o CMakeFiles/vzlogger.dir/PushData.cpp.o -o vzlogger -Wl,-rpath,/usr/local/lib -rdynamic protocols/libproto.a libvz.a api/libvz-api.a /usr/local/lib/libjson-c.a -lrt -Wl,-Bstatic -lsml -Wl,-Bdynamic -lrt /usr/local/lib/libmbus.so -lm -Wl,-Bstatic -lmicrohttpd -Wl,-Bdynamic -lrt -lgcrypt -lpthread -lm -luuid -ldl -lcurl -lunistring -Wl,-Bstatic -lgnutls -lz -Wl,-Bdynamic -lp11-kit -Wl,-Bstatic -lgmp -lhogweed -lgmp -lnettle -ltasn1 -lidn -Wl,-Bdynamic -lp11-kit -Wl,-Bstatic -lz -Wl,-Bdynamic -lsasl2 -lgcrypt -lssl -lcrypto -Wl,-Bstatic -lsml -Wl,-Bdynamic /usr/local/lib/libmbus.so -lm -Wl,-Bstatic -lmicrohttpd -Wl,-Bdynamic -lgcrypt -lpthread -lm -luuid -ldl -lcurl -lunistring -Wl,-Bstatic -lgnutls -lz -Wl,-Bdynamic -lp11-kit -Wl,-Bstatic -lgmp -lhogweed -lnettle -ltasn1 -lidn -lz -Wl,-Bdynamic -lp11-kit -Wl,-Bstatic -lgmp -lhogweed -lnettle -ltasn1 -lidn -Wl,-Bdynamic -lsasl2 -lgcrypt -lssl -lcrypto<br>
<strong>/usr/bin/ld: cannot find -lunistring</strong><br>
collect2: error: ld returned 1 exit status<br>
<strong>src/CMakeFiles/vzlogger.dir/build.make:269: die Regel für Ziel „src/vzlogger“ scheiterte</strong><br>
make[2]: *** [src/vzlogger] Fehler 1<br>
make[2]: Verzeichnis „/home/pi/vzlogger/build“ wird verlassen<br>
CMakeFiles/Makefile2:1025: die Regel für Ziel „src/CMakeFiles/vzlogger.dir/all“ scheiterte<br>
make[1]: *** [src/CMakeFiles/vzlogger.dir/all] Fehler 2<br>
make[1]: Verzeichnis „/home/pi/vzlogger/build“ wird verlassen<br>
Makefile:163: die Regel für Ziel „all“ scheiterte<br>
make: *** [all] Fehler 2</div>
<div> </div>
<div> </div>
<div>libunistring ist aber vorhanden:</div>
<div> </div>
<div>
<div>pi@raspberrypi:~/vzlogger $ sudo find / -name '*unistring*' -print<br>
/usr/share/doc/libunistring0<br>
/usr/lib/arm-linux-gnueabihf/libunistring.so.0.1.2<br>
/usr/lib/arm-linux-gnueabihf/libunistring.so.0<br>
/usr/lib/libunistring.so.0<br>
/var/lib/dpkg/info/libunistring0:armhf.shlibs<br>
/var/lib/dpkg/info/libunistring0:armhf.list<br>
/var/lib/dpkg/info/libunistring0:armhf.triggers<br>
/var/lib/dpkg/info/libunistring0:armhf.md5sums<br>
/var/cache/apt/archives/libunistring0_0.9.6+really0.9.3-0.1_armhf.deb<br>
find: ‘/run/user/1000/gvfs’: Keine Berechtigung</div>
<div> </div>
</div>
<div>Ich habe zunächst versucht durch Anlegen des Links von /usr/lib/libunistring.so.0 nach /usr/lib/arm-linux-gnueabihf/libunistring.so.0 den Fehler zu umgehen.</div>
<div> </div>
<div>Hat jemand eine Idee was ich falsch gemacht habe?</div>
<div> </div>
<div>Gruß</div>
<div>Martin</div>
<div> </div>
<div> </div>
</div>
</div></div>
</div></blockquote></div></body></html>