How to debug USB MDNS backend on Mac OSX 10.5

Michael R Sweet msweet at apple.com
Tue Aug 12 09:09:55 PDT 2008


keens312 wrote:
>> keens312 wrote:
>>> Hi Michael,
>>>
>>> On OSX 10.5.
>>>
>>> I downloaded the latest source of CUPS and built it with ./configure --enable-debug.
>>>
>>> But the USB and MDNS binary cannot be debugged.
>>>
>>> When run or debug it, backends will report error and quit.
>> What error?
>>
>> --
>> ______________________________________________________________________
>> Michael R Sweet                        Senior Printing System Engineer
>>
> imac:backend keen$ ./usb
> dyld: lazy symbol binding failed: Symbol not found: __ppdGet1284Values
>   Referenced from: /Volumes/Data/Source/cups/backend/./usb
>   Expected in: /usr/lib/libcups.2.dylib
> 
> dyld: Symbol not found: __ppdGet1284Values
>   Referenced from: /Volumes/Data/Source/cups/backend/./usb
>   Expected in: /usr/lib/libcups.2.dylib
> 
> Trace/BPT trap

You need to tell the run-time linker where to find the shared
libraries:

     DYLD_LIBRARY_PATH=/path/to/cups/lib; export DYLD_LIBRARY_PATH

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list