Starting from a clean 2.1.22 release I use the following configure line:
LDFLAGS="-L/myssl_dir/lib" CPPFLAGS="-I/myssl_dir/include" CFLAGS="-I/myssl_dir/include" ./configure --disable-sample --enable-static --disable-shared --enable-staticdlopen --disable-java
This however fails with the following message:
adding static plugins and dependencies
ar cru .libs/libsasl2.a sasldb.o db_none.o cram.o digestmd5.o otp.o plain.o anonymous.o
ar: sasldb.o: No such file or directory
make[2]: *** [libsasl2.a] Error 1
make[2]: Leaving directory `/home/steven/src/QuickFile/externals/sasl2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steven/src/QuickFile/externals/sasl2'
make: *** [all] Error 2
Does anyone know how to fix this?
Thanks!