Subject: Re: Dependencies on bl3fied libraries
To: Mike M. Volokhov <>
From: Juan RP <>
List: tech-pkg
Date: 04/21/2004 12:45:08
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 21 Apr 2004 13:33:09 +0300
"Mike M. Volokhov" <> wrote:
> In the output above, the djvups has been linked against libjpeg. The g++
> command was finished successfuly so as it got a link to .buildlink/lib
> where has stored. But ldd(1) shows the following:
> work/djvulibre-3.5.12/tools/djvups:
>          -ldjvulibre-3.5 => not found
>          -ljpeg.62 => not found
>          -lstdc++.5 => /usr/lib/
>          -lm.0 => /usr/lib/
>          -lm.0 => /usr/lib/
>          -lgcc_s.1 => /usr/lib/
>          -lpthread.0 => /usr/lib/
>          -lc.12 => /usr/lib/
> This happens if I don't pass ${LDFLAGS} (which contains -Wl,-R/usr/pkg/lib
> flag, where both libdjvulibre and libdjpeg resides) directly in
> distribution Makefile. But I think it should be passed to C compiler by a
> wrapper, or I've missing something?
> And this is a cause, why /usr/pkg/qt3/lib is not available as run path.

Where was installed libdjvulibre? if it's not located in a standard
location, you'll have to use BUILDLINK_PASSTHRU_DIRS as Marc Recht said 

	Juan RP <>

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (FreeBSD)