Slackware64-14.2 + Kodi 17 – TexturePacker compile error

I can compile Kodi 17 to the end, however, when it’s compiling i notice these errors regarding TexturePacker so it never gets built:

Quote:make -C native
make[1]: Entering directory ‘/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native’
make all-am
make[2]: Entering directory ‘/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native’
g++ -DTARGET_POSIX -std=c++0x -g -O2 -llzo2 -ljpeg -lgif -lpng16 -lm -lz -lm -static -o TexturePacker md5.o XBTFWriter.o TexturePacker.o DecoderManager.o decoder/PNGDecoder.o decoder/JPGDecoder.o decoder/GifHelper.o decoder/GIFDecoder.o XBTF.o -llzo2 -ljpeg -lgif -lpng16 -lm -lz -lm
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -llzo2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgif
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpng16
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -llzo2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgif
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpng16
collect2: error: ld returned 1 exit status
Makefile:421: recipe for target ‘TexturePacker’ failed
make[2]: *** [TexturePacker] Error 1
make[2]: Leaving directory ‘/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native’
Makefile:311: recipe for target ‘all’ failed
make[1]: *** [all] Error 2
make[1]: Leaving directory ‘/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native’
Makefile:43: recipe for target ‘native/TexturePacker’ failed
make: *** [native/TexturePacker] Error 2

What might be causing these errors?