zm 27.1 : ERROR: libjpeg-turbo is required for JPEG encoding
Posted: Sat Jun 28, 2014 8:28 am
Dear,
I installed zm 1.27.1 on Debian Wheeze and libjpeg-turbo 1.1.3.
My systems works fine with IP cameras but when I try to use my BT848 based card I get the following messages :
zma_m3[4597]: INF [Garage: 4000 - Processing at 25.00 fps] shows the BT848 works fine
zms[4732]: ERR [libjpeg-turbo is required for JPEG encoding directly from BGR24 source]
zma_m2[3831]: ERR [libjpeg-turbo is required for JPEG encoding directly from BGR24 source]
I installed the libjpeg library (v1.1.3) in the follwoing way:
I had 1st to repalce lib by lib64
ln -s /opt/libjpeg-turbo/lib64/libjpeg.a /usr/lib/libjpeg.a && \
ln -s /opt/libjpeg-turbo/include/jconfig.h /usr/include/jconfig.h && \
ln -s /opt/libjpeg-turbo/include/jerror.h /usr/include/jerror.h && \
ln -s /opt/libjpeg-turbo/include/jmorecfg.h /usr/include/jmorecfg.h && \
ln -s /opt/libjpeg-turbo/include/jpeglib.h /usr/include/jpeglib.h
###########################
#Configurar rutas para Lib#
##########################
echo "/opt/libjpeg-turbo/lib64" > /etc/ld.so.conf.d/libjpeg-turbo.conf && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/ffmpeg.conf && \
echo "LD_LIBRARY_PATH=/usr/local/lib:/opt/libjpeg-turbo/lib64:$LD_LIBRARY_PATH" >> /etc/bash.bashrc && \
echo "export LD_LIBRARY_PATH" >> /etc/bash.bashrc
ldconfig
When I do a ldd... I dont' see that zma/zmc require libjpeg-turbo
ldd /usr/bin/zma | grep jpeg
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f56d4d11000)
libopenjpeg.so.2 => /usr/lib/x86_64-linux-gnu/libopenjpeg.so.2 (0x00007f56d074d000)
Any idea where I should look first ... according to me the library is fine ... perehaps an idea: the libjpeg-turbo has been installed after the ZM.. could that be the root cause?
Thansk for your help
Marc
I installed zm 1.27.1 on Debian Wheeze and libjpeg-turbo 1.1.3.
My systems works fine with IP cameras but when I try to use my BT848 based card I get the following messages :
zma_m3[4597]: INF [Garage: 4000 - Processing at 25.00 fps] shows the BT848 works fine
zms[4732]: ERR [libjpeg-turbo is required for JPEG encoding directly from BGR24 source]
zma_m2[3831]: ERR [libjpeg-turbo is required for JPEG encoding directly from BGR24 source]
I installed the libjpeg library (v1.1.3) in the follwoing way:
I had 1st to repalce lib by lib64
ln -s /opt/libjpeg-turbo/lib64/libjpeg.a /usr/lib/libjpeg.a && \
ln -s /opt/libjpeg-turbo/include/jconfig.h /usr/include/jconfig.h && \
ln -s /opt/libjpeg-turbo/include/jerror.h /usr/include/jerror.h && \
ln -s /opt/libjpeg-turbo/include/jmorecfg.h /usr/include/jmorecfg.h && \
ln -s /opt/libjpeg-turbo/include/jpeglib.h /usr/include/jpeglib.h
###########################
#Configurar rutas para Lib#
##########################
echo "/opt/libjpeg-turbo/lib64" > /etc/ld.so.conf.d/libjpeg-turbo.conf && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/ffmpeg.conf && \
echo "LD_LIBRARY_PATH=/usr/local/lib:/opt/libjpeg-turbo/lib64:$LD_LIBRARY_PATH" >> /etc/bash.bashrc && \
echo "export LD_LIBRARY_PATH" >> /etc/bash.bashrc
ldconfig
When I do a ldd... I dont' see that zma/zmc require libjpeg-turbo
ldd /usr/bin/zma | grep jpeg
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f56d4d11000)
libopenjpeg.so.2 => /usr/lib/x86_64-linux-gnu/libopenjpeg.so.2 (0x00007f56d074d000)
Any idea where I should look first ... according to me the library is fine ... perehaps an idea: the libjpeg-turbo has been installed after the ZM.. could that be the root cause?
Thansk for your help
Marc