[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

links to shared libs in .deb file: order

The symlink in the .deb file to the shared libs are supposed
to be placed _after_ the libs they point to. In the
libg++ debian/rules file, I try to accomplish this with:

         rm -rf debian/tmp-shared
         make install prefix=$(dir)/debian/tmp-shared/usr
         rm -rf debian/tmp-shared/usr/{lib/g++-include,include,man,info,bin}
         rm -f debian/tmp-shared/usr/lib/*.so
         rm -f debian/tmp-shared/usr/lib/*.so.27
         rm -f debian/tmp-shared/usr/lib/*.a
         strip debian/tmp-shared/usr/lib/*.so.*
         ln -s libg++.so.$(sover).$(h) debian/tmp-shared/usr/lib/libg++.so
         ln -s libstdc++.so.$(sover).$(h) debian/tmp-shared/usr/lib/libstdc++.so

But this doesn't seem to work:

   $ dpkg-deb -c libg++27_2.7.2.1-4.deb 
   usr/lib/libg++.so -> libg++.so.27.2.1
   usr/lib/libstdc++.so -> libstdc++.so.27.2.1

BTW, yes I know the shared lib package should contain symlinks from
.so.$soname to the shared lib, not from .so to the shared lib, but
at least I know how to fix that. The order however, baffles me.

joost witteveen
Use Debian/GNU Linux!

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: