cups icon indicating copy to clipboard operation
cups copied to clipboard

[CI MacOS] Linking the library fails

Open zdohnal opened this issue 1 year ago • 2 comments

MacOS CI build fails on master and 2.4x - looks like a change in the testing machine, not caused by commit:

ld: warning: -single_module is obsolete ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [libcups.2.dylib] Error 1

@michaelrsweet looks like openssl is used from homebrew, did something break on that side?

zdohnal avatar Apr 26 '24 11:04 zdohnal

The macOS CI wasn't installing prerequisites... Testing a fix now.

michaelrsweet avatar Apr 26 '24 20:04 michaelrsweet

Apparently OpenSSL is always installed, but the pkg-config info doesn't appear to be correct... I'd say this is a Homebrew bug but I'm trying something with setting LDFLAGS...

michaelrsweet avatar Apr 26 '24 20:04 michaelrsweet

OK, so this seems to be resolved now.

michaelrsweet avatar Sep 20 '24 16:09 michaelrsweet