I was able to apt-get install all the dependencies succesfully (updated upgraded etc) but when I make the video-viewer, it errors out because of a missing dependency to libmpg123.
“/usr/bin/ld: warning: libmpg123.so.0, needed by //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0, not found (try using -rpath or -rpath-link)”
Any ideas on how to fix this?
Full stack:
g++ -O3 -W -Wall -Wextra -Wno-unused-parameter -D_FILE_OFFSET_BITS=64 video-viewer.o -o video-viewer -L…/lib -lrgbmatrix -lrt -lm -lpthread -I/usr/include/arm-linux-gnueabihf -lavcodec -lavformat -lswscale -lavutil
/usr/bin/ld: warning: libmpg123.so.0, needed by //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_delete’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_replace_reader_handle_64’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_scan’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_info’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_read’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_outblock’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_getformat’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_exit’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_id3’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_init’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_param’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_open_handle_64’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_length_64’
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopenmpt.so.0: undefined reference to `mpg123_new’
collect2: error: ld returned 1 exit status
make: *** [Makefile:37: video-viewer] Error 1