On Thu, Nov 10, 2016 at 04:44:53PM +0000, Tom Hughes wrote: > On 10/11/16 16:41, Richard W.M. Jones wrote: > > >I'm packaging up a program that puts plugins into > > > > %{_libdir}/pkg/plugin.so > > > >Unfortunately rpmbuild doesn't seem to generate automatic dependencies > >for these files (they are regular ELF files and I have checked that > >they contain DT_NEEDED fields). > > > >Any ideas on that? There's a lot of documentation about how to > >exclude files from automatic dep generation, but I want to include > >these. > > My guess would be that they're not marked as executable. Shared > libraries don't really need to be executable but they always have > been in Fedora and the dependency generator ignores ones which > aren't. Very good catch! Indeed they were not executable. I'll see if setting proper mode fixes things. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx