Skip to content

Commit

Permalink
glibc: Add /lib/ld-linux-x86-64.so symlink
Browse files Browse the repository at this point in the history
/lib64/ld-linux-x86-64.so.2 is the intepreter for dynamic
executables. Our /lib64 is a symlink to /lib.

Create the link /lib/ld-linux-x86-64.so.2 -> /lib/ld-X.XX.so
  • Loading branch information
donald committed Oct 4, 2017
1 parent de0ebad commit e4eea0c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions glibc.be0
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ mee_install_post() {
cd -
fi

# our /lib64 is a symlink to /lib now, so we don't need /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.25.so

rm $D/lib64/ld-linux-x86-64.so.2
# "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.26.so
# we have /lib64 -> /lib , so remove the lib64 directory and create a new link
#
rm $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]}
rmdir $D/lib64
ln -s ld-$PKGVERSION.so $D/lib/ld-linux-x86-64.so.${PKGVERSION[1]}
}

0 comments on commit e4eea0c

Please sign in to comment.