Skip to content

adjust LD_LIBRARY_PATH for shlibsign for m68k

Glenn Strauss requested to merge gps-guest/nss:m68k-shlibsign into master

adjust LD_LIBRARY_PATH for shlibsign for m68k

This commit reverts commit 63ac8c68

Author: Mike Hommey <mh@glandium.org>
Date:   Mon Jun 1 09:37:29 2015 +0900
    Remove debian/libnss3/usr/lib/$(DEB_HOST_MULTIARCH)/nss from
    LD_LIBRARY_PATH when executing shlibsign

@glandium do you recall why this change was made?

The reason to revert this commit is that the nss package fails to build on m68k platform with error "loading softokn3 failed" The command which fails is umask 022; LD_LIBRARY_PATH=debian/libnss3/usr/lib/m68k-linux-gnu debian/libnss3-tools/usr/bin/shlibsign -v -i debian/libnss3/usr/lib/m68k-linux-gnu/nss/libsoftokn3.so

shlibsign itself depends on libsoftokn3.so

If libsoftokn3.so is not already installed in the standard system library paths, shlibsign fails to run.

(If other platforms fail to operate on libsoftokn3.so when that same file is in use by shlibsign, then a copy should be made of the file debian/libnss3/usr/lib/m68k-linux-gnu/nss/libsoftokn3.so on which shlibsign operates, or a copy should be LD_PRELOAD'ed.)

Merge request reports

Loading