Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 1998 23:52:49 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        cwsung@Sung.org (Christian Sung)
Cc:        current@FreeBSD.ORG
Subject:   Re: ImageMagik-4.0.7 -- Broken?
Message-ID:  <199806282352.QAA16655@usr07.primenet.com>
In-Reply-To: <XFMail.980628033342.cwsung@Sung.org> from "Christian Sung" at Jun 28, 98 03:23:39 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Making all in xlib
> cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./magick -I/usr/X11R6/include -I/usr/loc
> al/include  -I/usr/X11R6/include -O -pipe -c animate.c
> /bin/sh ./libtool --mode=link cc -O -pipe  -o animate  animate.o magick/libMagic
> k.la -L/usr/local/lib  -L/usr/X11R6/lib -lX11  -lXext -lXt -ljbig -ljpeg -lmpeg 
> -lpng -lttf -lz  -lm
> mkdir .libs
> LD_LIBRARY_PATH="magick/.libs:$LD_LIBRARY_PATH" cc -O -pipe -o .libs/animate ani
> mate.o -R/usr/local/lib -lMagick -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext 
> -lXt -ljbig -ljpeg -lmpeg -lpng -lttf -lz -lm -L/usr/local/lib -L/usr/X11R6/lib 
> -lX11 -lXext -lXt -ljbig -ljpeg -lmpeg -lpng -lttf -lz -lm
> animate.o: Undefined symbol `_SetClientName' referenced from text segment
> animate.o: Undefined symbol `_XGetScreenDensity' referenced from text segment
> *** Error code 1

This has got to be one of the most utterly bogus link lines that I have
ever seen.

First, the -lXext -lXt order is wrong.

Second, each library only has to appear once.  If it's appearing more
than once, you probably have the library names in the wrong order, since
those particular libraries don't have cross-dependencies.

I was also unable to find "XGetScreenDensity" in all of the X11R6
sources; "SetClientName" seems to be a window-manager related function;
perhaps you need Motif?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806282352.QAA16655>