Search found 8 matches

by picasso
2012-01-02T00:11:18-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking

After a period of a couple months, I came-back to this project again! I'm going to find a solution for this problem
Any ideas?
Can somebody explain the relation between gs and imagemagick?
by picasso
2011-09-21T12:01:44-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking


/usr/bin/ld: cannot find -ltiff
collect2: ld returned 1 exit status
make[1]: *** [utilities/animate] Error 1
make[1]: Leaving directory `/home/tkrawuts/tmp/immck/ImageMagick-6.7.2-7'
make: *** [all] Error 2

before installing imagemagick you must compile delegates statically, try this for tiff ...
by picasso
2011-09-20T03:30:35-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking

my config command :

./configure --enable-shared=no --enable-static=yes --enable-delegate-build=yes --with-modules=no --prefix=/usr --without-threads

############

Now I want make a static convert with ghostscript !!! but it's really hard to do
after adding this --with-gslib=/usr/lib to ./configure ...
by picasso
2011-09-15T02:27:40-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking

I assume that what you want is for the ImageMagick utilities like convert and identify to be static executables. I don't know any way to do that, that isn't a hack.

After you run configure , try editing Makefile , and appending "-all-static" to the line that starts with "LDFLAGS =". That will ...
by picasso
2011-09-14T09:57:41-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking

I get an error when trying LDFLAGS="-all-static"

configuring ImageMagick 6.7.2-1
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD ...
by picasso
2011-09-10T22:16:39-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking

Yes, that's what we need. I have to redistribute the convert tool in LFS ( Linux from Scratch ).
First of all I install staticly delegates ( tiff, jpeg, png, zlib, ... ) >>> ./configure --disable-share --enable-static
then I try to install image magick but I can't build a static convert and so on.
by picasso
2011-09-10T03:35:20-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Re: Static Linking

Why nobody helps?
Compile configuration command that I use:
./configure --disable-shared --disable-dependency-tracking --without-threads --enable-delegate-build LDFLAGS="-static" --prefix=/usr

and the result :
-------------------------------------------------------------------------------
Shared ...
by picasso
2011-09-04T00:19:54-07:00
Forum: Developers
Topic: Static Linking
Replies: 13
Views: 43038

Static Linking

Hi All,
I need some help about static linking of ImageMagick. As I get by reading some threads, building ImageMagick statically ( ./configure --disable-shared
) isn't enough, anybody can explain it, please?
Thanks