On Thu, Oct 11, 2007 at 06:17:06AM -0700, varun_shrivastava wrote: > > hi > i am a newbee in packaging and trying out how to package some already > available source packages > > i am trying to pack jpeg62_6b, the package builds successfully but running Is this the same package that caused dh_strip errors?
> lintian shows > "binary-or-shlib-defines-rpath ./usr/bin/cjpeg /usr/lib" > the message is same for all binaries in /usr/bin You shouldn't set rpath to /usr/lib since it's in the default search path. > can some one please explain the reason for this message? Debian considereds rpath to be inflexible. > Also while building the same package a warning message is being displayed by > dh_shlibdeps > here is the message:: > dpkg-shlibdeps -Tdebian/libjpeg62-utils.substvars > debian/libjpeg62-utils/usr/bin/cjpeg debian/libjpeg62-utils/usr/bin/djpeg > debian/libjpeg62-utils/usr/bin/rdjpgcom > debian/libjpeg62-utils/usr/bin/wrjpgcom > debian/libjpeg62-utils/usr/bin/jpegtran > dpkg-shlibdeps: warning: could not find path for libjpeg.so.62 You have to supply a ./debian/shlibs file in any package that includes public shared libraries (/usr/lib/*.so.*). It gets installed to /usr/lib/dpkg/info/ and searched by dh_shlibdeps when building packages to find on what package,version to add a dependency for a given objdump -p |grep -we NEEDED line. Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]