Quote:
Originally Posted by upnort
I am curious though. The path /usr/x86_64-slackware-linux/lib64 does not exist. Instead I find /usr/x86_64-slackware-linux/lib.
|
Looks like it happens in this section of binutils.SlackBuild
Code:
# Move ldscripts to /usr/lib${LIBDIRSUFFIX}, and then put symlinks in place
mv $PKG/usr/${TARGET}/lib/ldscripts $PKG/usr/lib${LIBDIRSUFFIX}
( cd $PKG/usr/${TARGET}
ln -s /usr/lib${LIBDIRSUFFIX}/ldscripts lib/ldscripts
for FILE in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip ; do
if [ -r "/usr/bin/$FILE" ]; then
rm -f bin/$FILE
ln -s /usr/bin/$FILE bin/$FILE
fi
done
)
Pat may want to change this line:
Code:
ln -s /usr/lib${LIBDIRSUFFIX}/ldscripts lib/ldscripts
to this line
Code:
ln -s /usr/lib${LIBDIRSUFFIX}/ldscripts lib${LIBDIRSUFFIX}/ldscripts
Otherwise, he would need to do something in this section of etc.SlackBuild so it doesn't change the lib on that particular folder.
Code:
# Fix for ARCH:
sed -i -e "s#/i586-slackware-linux#/${ARCH}-slackware-linux#" etc/ld.so.conf.new
# Fix paths if lib64 is needed:
if [ "$ARCH" = "x86_64" ]; then
sed -i -e "s#/lib#/lib64#" etc/ld.so.conf.new
fi
I feel like the first one would be the better option.