Bug in Slackware64 version of yp-tools
Hi,
The yp-tools have a bug in them in the 64bit-version. In the 32bit-version of Slackware, the various NIS tools are to be found in /usr/lib/yp/. In the 64bit-version, the tools are in /usr/lib64/yp, but some of the tools rely on other tools and try to find them in the wrong place, e. g. /usr/lib/yp. A workaround is to create a /usr/lib/yp directory on the 64bit version and to symlink the tools from /usr/lib64/yp. I don't know quite how to report this bug, so I post it here. |
it could be useful if you post the names of the binaries/libraries that try to look for stuff in /usr/lib instead that /usr/lib64, or just post the full errors without the /ust/lib/yp symlink.
|
I got no NIS where to try this atm, but running this simple sed fixes things for you without the symlink?
Code:
sed -i -e "s|^YPBINDIR.*|YPBINDIR=/usr/lib64/yp|" /usr/lib64/yp/{ypinit,ypxfr_1perday,ypxfr_1perhour,ypxfr_2perday} |
Looks like it can be fixed in the build by adding --libexecdir=/usr/lib64 to configure.
|
nice wildwizard :) I modified the slackbuild where it builds ypserv like this
Code:
--- yptools/yptools.SlackBuild.orig 2011-03-08 19:33:25.000000000 +0100 |
Quote:
|
seems like in the second block it's enough: should be used by shell scripts for the YPBINDIR variable and the install location.
|
I sent this patch to Pat earlier today:
Code:
--- yptools.SlackBuild.orig 2011-07-08 10:04:00.560251285 +0200 Eric Edit: I think ponce's patch is cleaner... I did not see that before I wrote this. |
All times are GMT -5. The time now is 02:57 AM. |