Subject: libjpeg.so.62 needed by .buildlink/lib/libtiff.so but it is there
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/01/2002 09:33:08
I am still trying to package scribus.
This is my latest problem:
c++ -O2 -I/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/include
-I/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/include -O2
-I/usr/pkg/share/x11-links/include -fno-exceptions -fno-check-new -s -o
scribus polyprops.o mpalette.o werktoolb.o keymanager.o navigator.o
annot.o bookmwin.o cmsprefs.o customfdialog.o picsearch.o picstatus.o
newtemp.o applytemplate.o muster.o scfonts_ttf.o scfonts_encoding.o
scrap.o scfonts.o frameedit.o spalette.o edit1format.o editformats.o
druck.o colorchart.o util.o cmykcolor.o cmykfw.o scribusXml.o linecombo.o
linkbutton.o helpbrowser.o mspinbox.o modify.o movepage.o delpages.o
inspage.o pdfopts.o tree.o missing.o fontprefs.o fmitem.o align.o
serializer.o reformdoc.o docinfo.o mdup.o cpalette.o dcolor.o query.o
colorm.o vruler.o hruler.o pageback.o page.o pageitem.o newfile.o
scribusview.o scribusdoc.o scribus.o main.o -Wl, --export-dynamic
-L/usr/pkg/share/x11-links/lib -L/usr/local/pkgsrc/my-packages
/scribus/work/.buildlink/qt3/lib
-L/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/lib -lc -ltiff -lm
-lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lXext -lX11
/usr/bin/ld: warning: libjpeg.so.62, needed by
/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/lib/libtiff.so, not
found (try using --rpath)
/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/lib/libtiff.so:
undefined reference to `jpeg_read_scanlines'
But I have included the tiff (and jpeg) buildlinks:
=> Linking jpeg files into
/usr/local/pkgsrc/my-packages/scribus/work/.buildlink.
And the headers and libraries exist:
$ cd /usr/local/pkgsrc/my-packages/scribus/work/.buildlink/
$ ls -l */*jpeg*
lrwxr-xr-x 1 reed wheel 26 Jun 1 06:28 include/jpeglib.h ->
/usr/pkg/include/jpeglib.h
lrwxr-xr-x 1 reed wheel 22 Jun 1 06:28 lib/libjpeg.a ->
/usr/pkg/lib/libjpeg.a
lrwxr-xr-x 1 reed wheel 23 Jun 1 06:28 lib/libjpeg.so ->
/usr/pkg/lib/libjpeg.so
lrwxr-xr-x 1 reed wheel 26 Jun 1 06:28 lib/libjpeg.so.62 ->
/usr/pkg/lib/libjpeg.so.62
lrwxr-xr-x 1 reed wheel 28 Jun 1 06:28 lib/libjpeg.so.62.0 ->
/usr/pkg/lib/libjpeg.so.62.0
$ ls -l /usr/pkg/lib/libjpeg.so.62.0
-rwxr-xr-x 1 root wheel 137174 May 8 09:09
/usr/pkg/lib/libjpeg.so.62.0
Any ideas on how I can get it to use the libjpeg.so.62?
(The message above said try --rpath, but I am not sure.)
What is especially confusing is that the configure script works fine, but
I have to more to get the actual compile to work.
Jeremy C. Reed
http://www.reedmedia.net/