Re: Compiling GM statically and the magic.mgk config file

simon <[email protected]> Fri, 02 Mar 2007 13:34:42 +0100
Newsgroups gmane.comp.video.graphicsmagick.tools
Message-ID <[email protected]>
Hello,


it's me again ;)
the gm i compiled works on my PC, but it doesn't seem to be statically
compiled, because i the following message on the (non-root) server:

./gm: error while loading shared libraries: libjasper-1.701.so.1: cannot
open shared object file: No such file or directory

I know how to compile stuff the regular way, but i have no clue on how
to compile a static version.

I found a static verison of graphicsmagick 1.1.6 here:
http://typo3.sunsite.dk/software/linux/graphicsmagick-1.1.6_i386-static-2.tar.gz
Unfortunately, when I try to convert between RGB and CMYK colorspace
using ICCs (ICM) I get:
LCMS encoding not supportet

does this mean that it was compiled without lcms support?
I'll also try to contact the author, to get an answer....

Thanx again!


On Thu, 2007-03-01 at 17:54 -0600, Bob Friesenhahn wrote:
> On Thu, 1 Mar 2007, simon wrote:
> 
> > I compiled GM 1.1.6 the regular way (./configure and make, but no "make
> > install") and the commands I need work, but I get the following error
> > when I use the gm executable from the "utilities" folder:
> >
> > ./gm identify: Unable to access configuration file (magic.mgk) [No such
> > file or directory].
> >
> >
> > How can I fix this? Is there a config-option I have missed?
> 
> Edit the header file magick/magick_config.h to tailor the settings. 
> Most important is the setting for "UseInstalledMagick".  When this one 
> is defined then either the Windows registery or hard-coded paths are 
> consulted (i.e. requires a formal installation).  Otherwise the .mgk 
> files are searched for in the same directory as the executable.
> 
> Bob
> ======================================
> Bob Friesenhahn
> [email protected], http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Graphicsmagick-tools mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/graphicsmagick-tools


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV