Subject: needed by .buildlink/lib/ but it is there
To: None <>
From: Jeremy C. Reed <>
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
-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:, needed by
/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/lib/, not
found (try using --rpath)

undefined reference to `jpeg_read_scanlines'

But I have included the tiff (and jpeg) buildlinks:

 => Linking jpeg files into

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 ->
lrwxr-xr-x  1 reed  wheel  22 Jun  1 06:28 lib/libjpeg.a ->
lrwxr-xr-x  1 reed  wheel  23 Jun  1 06:28 lib/ ->
lrwxr-xr-x  1 reed  wheel  26 Jun  1 06:28 lib/ ->
lrwxr-xr-x  1 reed  wheel  28 Jun  1 06:28 lib/ ->
$ ls -l /usr/pkg/lib/
-rwxr-xr-x  1 root  wheel  137174 May  8 09:09

Any ideas on how I can get it to use the

(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