xcode-select uses /usr/local/lib/libwep but libwep codesign fail

After upgrade os to mojave, and installed xcode10, I get an error when invoking xcode-select:

dyld: Library not loaded: /usr/local/lib/libwep
  Referenced from: /usr/bin/xcode-select
  Reason: no suitable image found.  Did find:
/usr/local/lib/libwep: code signature in (/usr/local/lib/libwep) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/usr/local/lib/libwep: stat() failed with errno=1
Xcode.app not found.


anyone could help?

Replies

Have similar issue on macOS 10.14


Dyld Error Message:
  Library not loaded: /usr/local/lib/libjpeg.9.dylib
  Referenced from: /private/var/folders/*/ha2.app/Contents/MacOS/ha2
  Reason: no suitable image found.  Did find:
  /usr/local/lib/libjpeg.9.dylib: code signature in (/usr/local/lib/libjpeg.9.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
  /usr/local/lib/libjpeg.9.dylib: stat() failed with errno=1



the /usr/local/lib/libjpeg.9.dylib file exists.

Any idea?

I'm also hitting this - looks like my upgrade to Mojave also is the culprit.


https://github.com/ibmdb/node-ibm_db/issues/500


I was able to get WebP @HEAD which looks like it might support latest OSX - but have yet to get that working together with what I need it to...


Update:

Looks like they knew this was in the pipeline for a while now -- and this blanket, breaking change by Apple might have killed any number of things

(see https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave)

me too,

when i build openssl,

it fail with follow info:


dyld: Library not loaded: /usr/local/lib/libwep

Referenced from: /usr/bin/ar

Reason: no suitable image found. Did find:

/usr/local/lib/libwep: code signature in (/usr/local/lib/libwep) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

/usr/local/lib/libwep: stat() failed with errno=1

make[1]: *** [../libcrypto.a] Abort trap: 6

make: *** [build_crypto] Error 1