Page 1 of 1

Built from source - cannot find delegate librarys

Posted: 2017-05-16T11:27:52-07:00
by pythonimus
Hi,

I want to install ImageMagick-6.9.2-10 on a Ubuntu server.
I tried Ubuntu 14.04.5 32bit and 16.04.2 64bit - on both the same behavior.
I installed theses Ubuntus from iso, installed make and gcc through apt-get and downloaded freetype (http://www.imagemagick.org/download/del ... 6.5.tar.gz) from your delegates section. Freetype needs libpng and zlib so I installed them through apt-get.
configure freetype: shows that libpng and zlib are installed.
Make & make install -> freetype libs are in /usr/local/lib
Configure ImageMagick:
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: i686-pc-linux-gnu
Build system type: i686-pc-linux-gnu

Option Value
------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no

Install documentation: yes

Delegate Library Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes no
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
LTDL --with-ltdl=yes no
LZMA --with-lzma=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
OpenJP2 --with-openjp2=yes no
PANGO --with-pango=yes no
PERL --with-perl=no no
PNG --with-png=yes no
RSVG --with-rsvg=no no
TIFF --with-tiff=yes no
WEBP --with-webp=yes no
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=yes no
ZLIB --with-zlib=yes no

Delegate Program Configuration:
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (unknown)

Font Configuration:
Apple fonts --with-apple-font-dir=default none
Dejavu fonts --with-dejavu-font-dir=default none
Ghostscript fonts --with-gs-font-dir=default none
Windows fonts --with-windows-font-dir=default none

X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.9.2
CC = gcc -std=gnu99 -std=gnu99
CFLAGS = -fopenmp -g -O2 -Wall -mtune=core-avx2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
LIBS =
CXX = g++
CXXFLAGS = -pthread
FEATURES = DPC Cipher OpenMP
DELEGATES = mpeg
==============================================================================
The prefix /usr/local is correct but configure will not find my libraries.
What do I have to do in order built IM with these delegates?

Thanks for helping!

Re: Built from source - cannot find delegate librarys

Posted: 2017-05-17T03:54:08-07:00
by pythonimus
I had to install pkg-config in order to get it to work.
Source: https://www.imagemagick.org/discourse-s ... 36#p128366