Some part of weston which support mapview-demo refers library in
/usr/local/lib.
To solve this, make symblic link directory into /usr/lib because
adding /usr/local/lib into library search path in anyway didn't
work well.
E.g. Environment=LD_LIBRARY_PATH=/usr/local/lib in weston service
E.g. LD_LIBRARY_PATH=/usr/local/lib in /etc/environment
E.g. Adding /usr/local/lib into /etc/ld.so.conf
Change-Id: I9d85732c18d1c9b13343304f45b53cfc806ec941
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
/bin/systemctl disable weston-mapviewer-demo.service
/bin/systemctl enable weston.service
/bin/systemctl disable mapviewer.service
+
+rm -f /usr/lib/libmmngrbuf.so.1
+
+sync
/bin/systemctl enable weston-mapviewer-demo.service
/bin/systemctl enable mapviewer.service
+/bin/ln -sf /usr/local/lib/libmmngrbuf.so.1 /usr/lib
+
+sync