On Mon, 2011-09-12 at 22:17 +0200, Guido Trentalancia wrote: > +++ selinux-12092011-test/libsepol/src/Makefile 2011-09-12 21:53:56.414127000 +0200 > @@ -43,7 +43,7 @@ install: all > install -m 755 $(LIBSO) $(SHLIBDIR) > test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig > install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig > - cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET) > + cd $(SHLIBDIR) && ln -sf $(LIBSO) $(TARGET) > > relabel: > /sbin/restorecon $(SHLIBDIR)/$(LIBSO) > > Is there anything else that looks odd in it ? Partial description could > be something like this: > > Simply use the filename as the target instead of the full path to the > shared libraries when creating the links in SHLIBDIR during > installation. The symlink and the shared object aren't always in the same directory, e.g. in Fedora the shared object may live in /lib or /lib64 while the symlink may live in /usr/lib or /usr/lib64. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.