get latest Chrome deb, startup met libnss version fail
upgrade system libnss above 3.3x is necessary.
download files:
nspr-4.30.tar.gz
nss-3.63.tar.gz
nss-3.63-standalone-1.patch
upgrade nspr first
Code: Select all
cd nspr &&
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&
sed -i 's#$(LIBRARY) ##' config/rules.mk &&
./configure --prefix=/usr \
--with-mozilla \
--with-pthreads \
$([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
make && make install
then upgrade nss
patch
Code: Select all
patch -Np1 -i ../nss-3.63-standalone-1.patch
compile
Code: Select all
cd nss && make BUILD_OPT=1 \
NSPR_INCLUDE_DIR=/usr/include/nspr \
USE_SYSTEM_ZLIB=1 \
ZLIB_LIBS=-lz \
NSS_ENABLE_WERROR=0 \
$([ $(uname -m) = x86_64 ] && echo USE_64=1) \
$([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1)
- install nss
Code: Select all
cd ../dist &&
install -v -m755 Linux*/lib/*.so /usr/lib &&
install -v -m644 Linux*/lib/{*.chk,libcrmf.a} /usr/lib &&
install -v -m755 -d /usr/include/nss &&
cp -v -RL {public,private}/nss/* /usr/include/nss &&
install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} /usr/bin &&
install -v -m644 Linux*/lib/pkgconfig/nss.pc /usr/lib/pkgconfig
after ldconfig update, install libgbm1_18.0.5 via PPM
reboot Xenial, and Chrome runs as
Code: Select all
./chrome --no-sandbox
although Firefox bundle newer NSS, upgrade newer NSS works Chrome & Opera browsers.