libkdeprint

Thiago Macieira thiago at kde.org
Sun Nov 4 14:32:48 GMT 2007


Kurt Pfeifle wrote:
>Thiago Macieira wrote:
>> John Layt wrote:
>>>> Can't you look if that lpr binary is linked to libcups? On a shell
>>>> I'd do the "ldd $(which lpr)|grep libcups" test...
>>>
>>> I'll look into that, would this work on all the *nix platforms?
>>
>> No.
>
>Reason?

Because ldd is not portable.

First of all, the format of the output is nowhere near standard in the 
Unix systems that have ldd.

Second, not all of them do. MacOS X and AIX don't.

Third, lpr could be a script.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071104/aaa596bb/attachment.sig>


More information about the kde-core-devel mailing list