danielgtaylor / jpeg-archive

Utilities for archiving JPEGs for long term storage.
1.17k stars 121 forks source link

freeBSD: Undefined symbol "jpeg_c_int_param_supported@LIBJPEG_8.0" #102

Open Elimelech opened 5 years ago

Elimelech commented 5 years ago

freeBSD 12.0-RC1

pkg install mozjpeg
git clone https://github.com/danielgtaylor/jpeg-archive.git
cd jpeg-archive/
gmake
sudo gmake install
root@F3ja:/home/luba # ldconfig -r | grep libjpeg
   223:-ljpeg.8 => /usr/local/lib/libjpeg.so.8
   976:-ljpeg.8 => /usr/local/lib/mozjpeg/libjpeg.so.8

# jpeg-recompress IMG_4683.jpg compressed.jpg
Metadata size is 12kb
ld-elf.so.1: /usr/local/bin/jpeg-recompress: Undefined symbol "jpeg_c_int_param_supported@LIBJPEG_8.0"

Why does this error appear and how can I fix it?