Subject: Re: libvorbis using wrong library
To: Jeremy C. Reed <>
From: Nick Hudson <>
List: tech-pkg
Date: 10/04/2001 08:15:13
On Thursday 04 October 2001 7:38 am, Johnny Lam wrote:
> I browsed through the configure output and everything looks just fine.
> According to what I see, the build should be using only what it finds in
> /usr/pkgsrc/audio/libvorbis/.buildlink to compile and link.  Was the
> problematic build you experienced earlier caused by unusual,
> LD_RUN_PATH, or LD_LIBRARY_PATH settings?  Also, what platform/version
> of NetBSD are you running?

I think this probably because of...

$ grep local /usr/pkg/bin/libtool
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"

Could you hack libtool and remove the reference to /usr/local/lib and see if 
this helps