Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 1998 18:09:38 -0700
From:      Christian Sung <cwsung@Sung.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: ImageMagik-4.0.7 -- Broken?
Message-ID:  <199806290109.SAA06995@vampire.sung.org>
In-Reply-To: <199806282352.QAA16655@usr07.primenet.com>
References:  <XFMail.980628033342.cwsung@Sung.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:52 PM 6/28/98 +0000, you wrote:
>> 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.

Yup, I must agree...

>
>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.

Straight out of the package's Makefile (/usr/ports/graphics/ImageMagik...)

>
>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?

Nope, Motif is not required.

>
>
>					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
> 

Christian W. Sung         E-Mail: cwsung@Sung.org
IS Management Consultant    Website: www.Sung.org 
Senior UNIX Consultant   Telephone (800) COM-UNIX

"And the UNIX Guru typed 'rm -rf /*', and all
 that was before, including the Guru himself,
 became then null and void, and darkness came
 down upon the system and those who worshiped
 it in a rather ruthless way." -- C.W. Sung

==================================================
PGP Key Fingerprint:
F6E2 0372 F765 28B6 6D34  7DF4 A928 A7AF 59A0 04CD
==================================================

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?199806290109.SAA06995>