ptrendx commented on issue #8336: Building with libjpeg-turbo error URL: https://github.com/apache/incubator-mxnet/issues/8336#issuecomment-337658368 Yes, unfortunately libjpeg-turbo version available in Ubuntu package compiles turbojpeg only as a static library (turbojpeg.a) instead of dynamic library (turbojpeg.so). You need to compile libjpeg-turbo from source. For system-wide installation you can use this: ``` apt-get install autoconf automake libtool nasm JPEG_TURBO_VERSION=1.5.2 && \ wget -q -O - https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${JPEG_TURBO_VERSION}.tar.gz | tar -xzf - && \ cd libjpeg-turbo-${JPEG_TURBO_VERSION} && \ autoreconf -fiv && \ ./configure --enable-shared --prefix=/usr 2>&1 >/dev/null && \ make -j"$(nproc)" install 2>&1 >/dev/null && \ rm -rf libjpeg-turbo-${JPEG_TURBO_VERSION} ``` Then you need to set `USE_LIBJPEG_TURBO_PATH` in `config.mk` to `/usr`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services