> > Searching for -lsox in the -L path is also perfectly normal. > > As we now know, it is the order of the -L options > > introduced by GNU libtool that breaks it. > > > > Your "clean" VM is a special case in that it does not > > have a previous version installed (as opposed to my screwed up, > > misconfigured machine). When you install the previous sox 14.4.2 > > (pkg_add sox), does the > > > > ./configure CC=cc CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib > > make V=1 > > > > build still work? > > I assume it will break.
Can you test please? > Yes, libtool should put the -L.libs before any other -L flags to avoid > such problems. Why don't you report the bug to them? People already did, nine years ago; choosing https://debbugs.gnu.org/cgi/bugreport.cgi?bug=15471 as a random example. Wanna guess what GNU did about it? _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel