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

dpkg-shlibdeps problem



I get this:

dpkg-shlibdeps: warning: format of libdemux_dynamic.so not recognized

and it is generated by this Perl code:

   # Now we get the direct deps of the program. We then check back with
    # the ldd output from above to see what our path is.
    defined($c= open(P,"-|")) || syserr("cannot fork for objdump");
    if (!$c) { exec("objdump","-p","--",$exec[$i]); syserr("cannot exec
objdump"); }
    while (<P>) {
        chomp;
        if (m,^\s*NEEDED\s+,) {
            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");
            }
        }
    }

I can Knit but I can't Perl .. so it looks like the script
is trying to parse the filename

	libdemux_dynamic.so

but failing .. can anyone tell me what it's looking for and why?

I'm not sure why dh_shlibdeps is needed .. I guess it is trying
to calculated Depends package names based on library names 
which are actually detected as dependencies .. ?

If so, the above warning is harmless (since the library named
is sure to be available since it is actually part of the
package).


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net



Reply to: