On 2013-05-15, William Orr <[email protected]> wrote: > Hello, > > I'm having trouble building some software (out of ports) with libtool. > The libtool linking step always fails reporting that it cannot find > strchr or strlen when linking, depending on the component I'm compiling. > However, gcc finds all of the other functions from libs (glib, gio, > pcre, etc), just fine. > > So far, I've tried manually adding a -L/usr/lib and -lc to LDFLAGS. > Compiling different components of the software yields similar errors. > The rev I'm using compiles fine on Linux (which means little). > > I've spent a few days trying to figure out what's wrong, but I haven't > found anything. > > The libtool that autotools ends up using is GNU's libtool v2.4.2 in > /usr/local/lib.
try telling it to use /usr/bin/libtool instead of gnu libtool.

