Re: Undefined Symbol _cupsRasterOpen

Michael Sweet <[email protected]>
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
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 <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gimp-print-devel

________________________
Michael Sweet

_______________________________________________
Gimp-print-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel
signature.asc (application/pgp-signature, 874 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIzBAEBCgAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmAXKQUACgkQvmfHXsgf
MkT05xAAvbRedIwREb1vEdijX6rCutEQe8Z7KfkosU2vUgcsNULmkc60niXbau7m
wYhu6e14VKXkS1+WAD+trJcrTZayf6mydR44RJP9ZTUZBHJJhz46FZiVQOo8ggs8
OerTtdfZbt/jrl90g8s+h+tr7pRHLpzdvPCjEgJEZ4AUKLl/Aiy+/d9jSBRNIBwq
TSj/8DkeBXnP6dF4+x5kILeEtVn7sycYuomrURdODvMMy0SKD+4o4kddSateAbux
s+QhwB3/dDvZ1TUNkn3SPzcXzOxLauj/U5/vkIs3ciZTzVxo2gsPXew84IkF6ORO
rWuOkYoytN1VWSHCysfU/8GOMwkzZJHrZWeYAZaC+tNo1d7b1jYB209dhepQzyYd
PYHupO/9wVubNXkaycgQCxEL9u7SbOkvf1ncx2cbqTFTICVEdm2JdfWr+uRAyVwC
7PZN0rpNDqgrr7uQW74Y8TM6GnFNvw00zfn4/8c34ipOEXvXDftfl3+EIJg3zlah
kzPMWurk0xgKYkmwF51VHz0wFKKKHhgAqyl1gikGiWcWG4wKuIPeAWV3fA0CKbh5
YGcBeDy9a2hSoMrdKES3IsFpFbazGkd9PxIKhz3MLZkNQfg7o6RKqo4rTCqt2GOB
vYHNiOpFUrLuq53WoquB8iYPUUPHQtpCqK7Vbo5uWGsk2jGwXSo=
=z7Zd
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.