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.

 [ will on ponyexpress ] ( ~ ) % uname -a
OpenBSD ponyexpress.csh.rit.edu 5.3 GENERIC#50 i386

Here is the output of the build, as well as a test program that I wrote with some output as well.
https://gist.github.com/worr/5565142

Any help or insight would be much appreciated; thanks!

Thanks,
William Orr

Reply via email to