With symlinks in /lib m and crypt are are no longer exceptions
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 2 Sep 2013 17:01:31 +0000 (19:01 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Fri, 8 Nov 2013 13:46:06 +0000 (14:46 +0100)
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

hints/linux.sh

index 8300a47..1ac42c0 100644 (file)
@@ -385,7 +385,7 @@ case "`uname -m`" in
            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
        ;;