[Image-SIG] Can't find library: "jpeg"

Gansser, Martin MGansser@rand.de
Tue, 24 Sep 2002 16:37:11 +0200


Hi,

I tried to compile PIL =
http://www.pythonware.com/downloads/Imaging-1.1.3.tar.gz
on hpux 11.00

this is the error message i've get:

installed SW:
python-2.2.1 prefix /usr/local
tcltk-8.3.4

this is the error message i've got:

prounix_root:/users/mgansser/GNU/Imaging-1.1.3 # cd libImaging

prounix_root:/users/mgansser/GNU/Imaging-1.1.3/libImaging # ./configure

creating cache ./config.cache
checking for --without-gcc... no
checking for gcc... gcc
checking whether the C compiler (gcc  -fPIC) works... yes
checking whether the C compiler (gcc  -fPIC) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking MACHDEP... hp-uxB
checking for jpeg_destroy_compress in -ljpeg... yes
checking for deflate in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for inline... inline
checking whether byte ordering is bigendian... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of float... 4
checking size of double... 8
checking for working const... yes
checking for prototypes... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ImConfig.h
prounix_root:/users/mgansser/GNU/Imaging-1.1.3/libImaging # gmake

gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o coretest.o =
coretest.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Storage.o =
Storage.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Access.o =
Access.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Except.o =
Except.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Antialias.o =
Antialias.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Bands.o =
Bands.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Blend.o =
Blend.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Chops.o =
Chops.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Convert.o =
Convert.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o ConvertYCbCr.o =
ConvertYCbCr.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Copy.o Copy.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Crop.o Crop.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Crc32.o =
Crc32.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Dib.o Dib.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Draw.o Draw.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Effects.o =
Effects.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o File.o File.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Fill.o Fill.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Filter.o =
Filter.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Geometry.o =
Geometry.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o GetBBox.o =
GetBBox.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Histo.o =
Histo.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Matrix.o =
Matrix.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Negative.o =
Negative.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Offset.o =
Offset.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Pack.o Pack.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Palette.o =
Palette.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Paste.o =
Paste.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Point.o =
Point.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Quant.o =
Quant.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o QuantHash.o =
QuantHash.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o QuantHeap.o =
QuantHeap.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o Unpack.o =
Unpack.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o UnpackYCC.o =
UnpackYCC.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o BitDecode.o =
BitDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o EpsEncode.o =
EpsEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o FliDecode.o =
FliDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o GifDecode.o =
GifDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o GifEncode.o =
GifEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o HexDecode.o =
HexDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o JpegDecode.o =
JpegDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o JpegEncode.o =
JpegEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o LzwDecode.o =
LzwDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o MspDecode.o =
MspDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o PackDecode.o =
PackDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o PcdDecode.o =
PcdDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o PcxDecode.o =
PcxDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o PcxEncode.o =
PcxEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o RawDecode.o =
RawDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o RawEncode.o =
RawEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o SunRleDecode.o =
SunRleDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o TgaRleDecode.o =
TgaRleDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o XbmDecode.o =
XbmDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o XbmEncode.o =
XbmEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o ZipDecode.o =
ZipDecode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o ZipEncode.o =
ZipEncode.c
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
rm -f libImaging.a
ar cr libImaging.a Storage.o Access.o Except.o Antialias.o Bands.o =
Blend.o Chops.o Convert.o ConvertYCbCr.o Copy.o Crop.o Crc32.o Dib.o =
Draw.o Effects.o File.o Fill.o Filter.o Geometry.o GetBBox.o Histo.o =
Matrix.o Negative.o Offset.o Pack.o Palette.o Paste.o Point.o Quant.o =
QuantHash.o QuantHeap.o Unpack.o UnpackYCC.o BitDecode.o EpsEncode.o =
FliDecode.o GifDecode.o GifEncode.o HexDecode.o JpegDecode.o =
JpegEncode.o LzwDecode.o MspDecode.o PackDecode.o PcdDecode.o =
PcxDecode.o PcxEncode.o RawDecode.o RawEncode.o SunRleDecode.o =
TgaRleDecode.o XbmDecode.o XbmEncode.o ZipDecode.o ZipEncode.o
ranlib libImaging.a
gcc -o coretest coretest.o libImaging.a -lz -ljpeg  -lm
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../../hppa2.0n-hp-=
hpux11.00/bin/nm: =
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libz.sl: no =
symbols
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../../hppa2.0n-hp-=
hpux11.00/bin/nm: =
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libjpeg.sl: no =
symbols
prounix_root:/users/mgansser/GNU/Imaging-1.1.3/libImaging # cd ..

prounix_root:/users/mgansser/GNU/Imaging-1.1.3 # python setup.py build

running build
running build_py
creating build
creating build/lib.hp-ux-B.11.00-9000
creating build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/__init__.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ArgImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/BdfFontFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/BmpImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ContainerIO.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/CurImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/DcxImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/EpsImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/FliImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/FontFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/FpxImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/GbrImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/GdImageFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/GifImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/GimpGradientFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/GimpPaletteFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/IcoImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/Image.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageChops.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageDraw.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageEnhance.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageFileIO.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageFilter.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageFont.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageOps.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImagePalette.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImagePath.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageSequence.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageStat.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageTk.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImageWin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/ImtImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/IptcImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/JpegImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/McIdasImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/MicImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/MpegImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/MspImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/OleFileIO.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PaletteFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PcdImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PcfFontFile.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PcxImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PdfImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PixarImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PngImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PpmImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PsdImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/PSDraw.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/SgiImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/SunImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/TarIO.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/TgaImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/TiffImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/TiffTags.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/WmfImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/XbmImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/XpmImagePlugin.py -> build/lib.hp-ux-B.11.00-9000/785-2.2
copying PIL/XVThumbImagePlugin.py -> =
build/lib.hp-ux-B.11.00-9000/785-2.2
running build_ext
building '_imaging' extension
creating build/temp.hp-ux-B.11.00-9000
creating build/temp.hp-ux-B.11.00-9000/785-2.2
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c _imaging.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/_imaging.o
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c decode.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/decode.o
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c encode.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/encode.o
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c map.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/map.o
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c display.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/display.o
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c outline.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/outline.o
gcc -DNDEBUG -g -fPIC -O3 -Wall -Wstrict-prototypes =
-I/usr/local/include/ncurses -fPIC -IlibImaging =
-I/usr/local/include/python2.2 -c path.c -o =
build/temp.hp-ux-B.11.00-9000/785-2.2/path.o
ld -b build/temp.hp-ux-B.11.00-9000/785-2.2/_imaging.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/decode.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/encode.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/map.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/display.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/outline.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/path.o -LlibImaging -lImaging =
-ljpeg -lz -o build/lib.hp-ux-B.11.00-9000/785-2.2/_imaging.sl
ld: Can't find library: "jpeg"
error: command 'ld' failed with exit status 1

# ll /usr/local/lib/libjpeg.*
-rw-r--r--    1 root     sys        210266 Jun 28 14:25 =
/usr/local/lib/libjpeg.a
-rw-r--r--    1 root     sys           473 Jun 28 14:25 =
/usr/local/lib/libjpeg.la
-r-xr-xr-x    1 root     sys        176128 Jun 28 14:25 =
/usr/local/lib/libjpeg.sl

#ld -b ... works by adding -L/usr/local/lib, but I don't know where to =
add the flag !!

ld -b build/temp.hp-ux-B.11.00-9000/785-2.2/_imaging.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/decode.
o build/temp.hp-ux-B.11.00-9000/785-2.2/encode.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/map.o build/t
emp.hp-ux-B.11.00-9000/785-2.2/display.o =
build/temp.hp-ux-B.11.00-9000/785-2.2/outline.o build/temp.
hp-ux-B.11.00-9000/785-2.2/path.o -LlibImaging -lImaging =
-L/usr/local/lib -ljpeg -lz -o build/lib.hp
-ux-B.11.00-9000/785-2.2/_imaging.sl
                                                         =
^^^^^^^^^^^^^^^^

thanks in advance

Martin