tesseract-ocr: missing-dependency-on-libc

2008-04-29 Thread Jeffrey Ratcliffe
pload (original source is included) Now running lintian... E: tesseract-ocr: missing-dependency-on-libc needed by ./usr/bin/cntraining and 4 others Finished running lintian. [...] I assume that the gencontrol warning is connected to the missing dependency. I have, though, got ${shlibs:Depends} in Depends,

Re: tesseract-ocr: missing-dependency-on-libc

2008-04-29 Thread Cyril Brulebois
On 29/04/2008, Jeffrey Ratcliffe wrote: > I assume that the gencontrol warning is connected to the missing > dependency. I have, though, got ${shlibs:Depends} in Depends What does dpkg --info on the binaries say? (pipe it into grep ^Depends) > and I even tried manually adding libc too, all withou

Re: tesseract-ocr: missing-dependency-on-libc

2008-04-29 Thread Jeffrey Ratcliffe
2008/4/29 Cyril Brulebois <[EMAIL PROTECTED]>: > > and I even tried manually adding libc too, all without luck. > > DON'T DO THAT. > > There are libc6, libc6.1, libc0.1, and libc0.3 around. You don't want to > hardcode it. Ever. I figured as much, but wanted to see what I could do to change th

Re: tesseract-ocr: missing-dependency-on-libc

2008-04-29 Thread Cyril Brulebois
(List-reply is your friend, I don't need extra copies, thanks.) On 29/04/2008, Jeffrey Ratcliffe wrote: > Ahhh. Thanks. Now it is lintian clean. But I have the following > warnings. In another package, I fixed similar warning by setting > LDLOADLIBS in rules. I could set LIBS here, except that > /

Re: tesseract-ocr: missing-dependency-on-libc

2008-04-29 Thread Felipe Sateler
Cyril Brulebois wrote: > You could try and use LDFLAGS to pass -Wl,--as-needed (linker flags). > But since it could break silently some parts of your build, it shouldn't > be used without -Wl,-z,defs which will help spot possible missing -l$foo > options in intermediate objects (if any). You can p

Re: tesseract-ocr: missing-dependency-on-libc

2008-04-30 Thread Jeffrey Ratcliffe
2008/4/29 Cyril Brulebois <[EMAIL PROTECTED]>: > You could try and use LDFLAGS to pass -Wl,--as-needed (linker flags). > But since it could break silently some parts of your build, it shouldn't > be used without -Wl,-z,defs which will help spot possible missing -l$foo > options in intermediate