Here you are how to install libextractor 0.6.x on FreeBSD:
1. Make sure you have libtool updated to the version 2.2.6b (/usr/ports/devel/libtool22)
2. Then execute this command in the root of libextractor 0.6.x distribution:
CFLAGS="-I/usr/local/include" ./configure --with-ltdl-include=/usr/local/include \
--with-ltdl-lib=/usr/local/lib
3. Run make && make install as usual.
Pingback: Tweets that mention Libextractor 0.6.x on FreeBSD | Founds -- Topsy.com
I've been trying to figure this out for a while now - libextractor kept failing with ltdl.h not being found.
I did everything you did in the configure string except for the CFLAGS property. Could you possibly fill me in on why the CFLAGS property made such a difference for FreeBSD?
FreeBSD has a different layout of files and directories than Linux. That is normal for unixes of different flavour. The problem not in FreeBSD but in libextractor itself, it should detect host OS and change flags accordingly, or try to search for required libraries and include files more widely taking in account FreeBSD layout.