Subject: ld: Bug or Feature?
To: None <>
From: Feico Dillema <>
List: current-users
Date: 10/30/1998 12:00:11

I build -current again yesterday and ran into one little problem. Programs
linking with the shared libutil did not build. ktrace-ing ld on one
revealed that ld was trying to link against an old libutil (version 3.2
instead of the current 4.4) that resided in /usr/pkg/lib and was put there
by the emulators/compat12 package.

So, ld seems to stop searching for newer versions of a library in other dirs
as soon as it found a dir that contains a version. Bug or feature?
If it's a feature, shouldn't the compat12 package install its shared libutil
in /usr/lib ???