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

Re: shlibdeps problem



On Mon, Jun 06, 2005 at 01:26:30AM +1000, John Skaller wrote:
> Can anyone throw any light on why I am getting this message:
> 
> dpkg-shlibdeps: warning: format of rtl/libflx_dynamic.so not recognized
The filename doesn't include a soname.  Look in /lib/ and /usr/lib/ to
see how shared libraries should be named.

Its easy to debug some of these messages, by the way; its just a few
lines of perlscript:

            if (m,^\s*NEEDED\s+((\S+)\.so\.(\S+))$,) {
                push(@libname,$2); push(@libsoname,$3);
                push(@libf,$execf[$i]);
                &warn("could not find path for $1") unless
defined($so2path{$1});
                push(@libfiles,$so2path{$1});
            } elsif (m,^\s*NEEDED\s+((\S+)-(\S+)\.so)$,) {
                push(@libname,$2); push(@libsoname,$3);
                push(@libf,$execf[$i]);
                &warn("could not find path for $1") unless
defined($so2path{$1});
                push(@libfiles,$so2path{$1});
            } else {
                m,^\s*NEEDED\s+(\S+)$,;
                &warn("format of $1 not recognized");
            }

Also read the policy and the proposed "shared library packaging
guide".

Justin



Reply to: