On Wed, Aug 27, 2008 at 12:20 PM, Steve Dickson <[EMAIL PROTECTED]> wrote: > Kevin Coffman wrote: >>> --- libnfsidmap-0.21/libnfsidmap.c~ 2008-08-02 10:52:00.289845221 +1200 >>> +++ libnfsidmap-0.21/libnfsidmap.c 2008-08-02 10:47:50.647889312 +1200 >>> @@ -101,7 +101,7 @@ >>> char plgname[128]; >>> int ret = 0; >>> >>> - snprintf(plgname, sizeof(plgname), "%s%s.so", PLUGIN_PREFIX, >>> method); >>> + snprintf(plgname, sizeof(plgname), "%s%s.so.0", PLUGIN_PREFIX, >>> method); >>> >>> dl = dlopen(plgname, RTLD_NOW | RTLD_LOCAL); >>> if (dl == NULL) { >>> >>> >> >> Getting back to this. I'm curious if there is a specific reason why >> the *.so symlink was not there? Adding the ".0" shouldn't be >> necessary. But there may be a reason for not including the .so >> symlink that I am not aware of. > The reason the version (or a version) number is need is because > some distros only installed the .so with the -devel package which > is not normally installed... The question is how do we get the > version to change automagically when the soname changes? > > steved.
OK. I will add something. Maybe the patch you sent privately. I'll look into the possibility of tying it with the autoconf stuff when the version changes. Also for the list: I'll move this code to a git repository next week to make things more "open". K.C. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]