[SOLVED] Slackware Cureent libpng14
by lovemeslk from LinuxQuestions.org on (#5QJ73)
Any one else run into this on a fresh install.
Code:ls /usr/lib64/ | grep libpng14
libpng14.so.14
libpng14.so.14.22.0 I wonder what program is doing this. not on the file list.
I was compiling stuff. And many times in I will uninstall libpng16
so not to link to it by accident.
libpng-config very powerful.
Code:ls -ln /usr/bin/libpng-config
lrwxrwxrwx 1 0 0 15 Feb 16 2021 /usr/bin/libpng-config -> libpng16-configWhat caught my Eye on my multi-lib system updating today. I always just just use massconvert32.sh tool keep mine up to date.
I noticed it packed up during today's large update.
Sun Oct 10 00:11:13 UTC 2021
During the update went real fast was unable to catch the package that had it in it.
Code:cat /var/log/packages/* | grep libpng14
usr/lib64/libpng14.so.14.22.0
usr/lib64/libpng14.so.14.22.0getting closer.
it is in this package. aaa_libraries-15.0-x86_64-10.txz
Code:cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=aaa_libraries
VERSION=${VERSION:-15.0}
BUILD=${BUILD:-10}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
rm -rf $PKG
mkdir -p $TMP $PKG
if [ -x /sbin/ldconfig ]; then
/sbin/ldconfig
fi
cd $PKG
cat $CWD/symlinks-to-tracked-libs \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
rm -f $(readlink $library)
cp -a $(dirname $library)/$(readlink $library) .
)
done
cat $CWD/tracked-files \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
)
done
cat $CWD/symlinks-to-tracked-libs-tmp.d/* \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
rm -f $(readlink $library)
cp -a $(dirname $library)/$(readlink $library) .
)
done
cat $CWD/tracked-files-tmp.d/* \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
)
done
# Make sure shared libraries are executable:
chmod 755 $PKG/lib${LIBDIRSUFFIX}/lib*.so.* $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so.*
# Don't ship symlinks in aaa_libraries... it's just asking for trouble.
# installpkg will create them if needed by running ldconfig.
find $PKG -type l -exec rm --verbose "{}" \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txzAll said and done I just wanted to make sure no program is running off it or linking to it. libpng versions like an older Slackware with libpng12 and libpng14 together was always a big issue to me.
Just curious Pat.
Code:ls /usr/lib64/ | grep libpng14
libpng14.so.14
libpng14.so.14.22.0 I wonder what program is doing this. not on the file list.
I was compiling stuff. And many times in I will uninstall libpng16
so not to link to it by accident.
libpng-config very powerful.
Code:ls -ln /usr/bin/libpng-config
lrwxrwxrwx 1 0 0 15 Feb 16 2021 /usr/bin/libpng-config -> libpng16-configWhat caught my Eye on my multi-lib system updating today. I always just just use massconvert32.sh tool keep mine up to date.
I noticed it packed up during today's large update.
Sun Oct 10 00:11:13 UTC 2021
During the update went real fast was unable to catch the package that had it in it.
Code:cat /var/log/packages/* | grep libpng14
usr/lib64/libpng14.so.14.22.0
usr/lib64/libpng14.so.14.22.0getting closer.
it is in this package. aaa_libraries-15.0-x86_64-10.txz
Code:cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=aaa_libraries
VERSION=${VERSION:-15.0}
BUILD=${BUILD:-10}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
rm -rf $PKG
mkdir -p $TMP $PKG
if [ -x /sbin/ldconfig ]; then
/sbin/ldconfig
fi
cd $PKG
cat $CWD/symlinks-to-tracked-libs \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
rm -f $(readlink $library)
cp -a $(dirname $library)/$(readlink $library) .
)
done
cat $CWD/tracked-files \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
)
done
cat $CWD/symlinks-to-tracked-libs-tmp.d/* \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
rm -f $(readlink $library)
cp -a $(dirname $library)/$(readlink $library) .
)
done
cat $CWD/tracked-files-tmp.d/* \
| grep -v "^#" | grep -v "^$" \
| sed -e "s#^/lib/#/lib${LIBDIRSUFFIX}/#" \
-e "s#^/usr/lib/#/usr/lib${LIBDIRSUFFIX}/#" \
| while read library ; do
( [ ! -e $library ] && exit 0
echo "Adding $library"
mkdir -p $(dirname $library | cut -b2- )
cd $(dirname $library | cut -b2- )
rm -f $(basename $library)
cp -a $library .
)
done
# Make sure shared libraries are executable:
chmod 755 $PKG/lib${LIBDIRSUFFIX}/lib*.so.* $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so.*
# Don't ship symlinks in aaa_libraries... it's just asking for trouble.
# installpkg will create them if needed by running ldconfig.
find $PKG -type l -exec rm --verbose "{}" \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txzAll said and done I just wanted to make sure no program is running off it or linking to it. libpng versions like an older Slackware with libpng12 and libpng14 together was always a big issue to me.
Just curious Pat.