From: Michael S. <ms...@ms...> - 2021-01-31 22:03:06
|
Steve, You might need to list -lcupsimage before -lcups, in case the linker is using the definition from libcups first... > On Jan 31, 2021, at 2:51 PM, Steve Letter via Gimp-print-devel <gim...@li...> wrote: > > As suggested by Michael I linked libcupsimage.dylib but still got the message in the log file, > dyld: Symbol not found: _cupsRasterOpen > Referenced from: /usr/libexec/cups/filter/rastertogutenprint.5.3 > Expected in: /usr/lib/libcups.2.dylib > > I verified that libcupsimage was linked in (with otool -L) > > otool -L /Library/Printers/Gutenprint.printerDriver/Contents/MacOS/rastertogutenprint.5.3 > /Library/Printers/Gutenprint.printerDriver/Contents/MacOS/rastertogutenprint.5.3: > /usr/lib/libcups.2.dylib (compatibility version 2.0.0, current version 2.14.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.60.1) > /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) > /usr/lib/libcupsimage.2.dylib (compatibility version 2.0.0, current version 2.3.0) > /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1770.255.0) > /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0) > > and that _cupsRasterOpen was indeed in libcupsimage > Stephens-MacBook-Pro:cups sletter$ nm /usr/lib/libcupsimage.2.dylib | grep _cupsRasterOpen > 00000000000035b8 T _cupsRasterOpen > 00000000000035e3 T _cupsRasterOpenIO > > Obviously there is something in my build that must be making the filter believe that _cupsRasterOpen is in libcups. I thought I’d ask here for help before I go to the Apple developers group to ask what I have wrong. > > Steve Letter > > _______________________________________________ > Gimp-print-devel mailing list > Gim...@li... > https://lists.sourceforge.net/lists/listinfo/gimp-print-devel ________________________ Michael Sweet |