Static build

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
obsnam
Posts: 1
Joined: 2019-06-07T09:50:04-07:00
Authentication code: 1152

Static build

Post by obsnam »

Hello,

When trying with various architectures, running ImageMagick-7.0.8-47/configure with the --disable-shared and --enable-zero-configuration options, as specified at https://imagemagick.org/discourse-serve ... ld#p161876, seems to produce a dynamic build.

on arm-linux-gnueabihf-thread-multi-64int:

Code: Select all

# file magick 
magick: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=c9fb0ab7426c9d41de8d1bb1429800e764021898, not stripped
# ldd magick 
	linux-vdso.so.1 (0x7efd6000)
	/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f37000)
	libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0x76e8c000)
	libpng12.so.0 => /lib/arm-linux-gnueabihf/libpng12.so.0 (0x76e5c000)
	libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x76e35000)
	libgomp.so.1 => /usr/lib/arm-linux-gnueabihf/libgomp.so.1 (0x76e10000)
	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76d95000)
	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76d68000)
	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76d40000)
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76bff000)
	/lib/ld-linux-armhf.so.3 (0x76f4c000)
on x86_64-linux-thread-multi:

Code: Select all

# file magick 
magick: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=8648d2be509c66b9499354b9c4f46adf83d8077f, not stripped
# ldd magick 
	linux-vdso.so.1 (0x00007fff15f00000)
	libgomp.so.1 => /lib64/libgomp.so.1 (0x00007ff27bcc3000)
	libm.so.6 => /lib64/libm.so.6 (0x00007ff27b9ba000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff27b7a3000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff27b585000)
	libc.so.6 => /lib64/libc.so.6 (0x00007ff27b1bf000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007ff27afbb000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ff27bef1000)
Does anybody know if this is expected?
Post Reply