Configure will only look for libfoo.so. If libfoo.so.{num} exists and
libfoo.so does not, make a symbolic link and start over. For this
Synology DS213, I needed
# cd /lib
# ln -s libm.so.6 libm.so
# ln -s libcrypt.so.1 libcrypt.so
libspth="/opt/local/lib /opt/lib $libspth"
loclibpth="/opt/local/lib /opt/lib $loclibpth"
# POSIX will not link without the pthread lib
- libswanted="$libswanted pthread m crypt"
+ libswanted="$libswanted pthread"
echo "$libswanted" >&4
fi
;;