Thursday, November 7, 2024

homebrew – library not discovered

I compiled a library known as libflite (https://github.com/festvox/flite) from supply. make set up routinely put in into /usr/native/bin and usr/native/lib. A homebrew formulation for libflite doesn’t exist.

Subsequent, I attempted unsuccessfully to put in ffmpeg through a customized homebrew faucet

brew set up homebrew-ffmpeg/ffmpeg/ffmpeg --with-libflite

It can not discover libflite:

ERROR: libflite not discovered
Error: homebrew-ffmpeg/ffmpeg/ffmpeg 6.1-with-options didn't construct

Do installers not routinely search for dependent libraries in usr/native/lib?

I appeared within the ffmpeg configure file and the declarations part does have a default library path variable:

# set up paths
prefix_default="/usr/native"
bindir_default="${prefix}/bin"
datadir_default="${prefix}/share/ffmpeg"
docdir_default="${prefix}/share/doc/ffmpeg"
incdir_default="${prefix}/embrace"
libdir_default="${prefix}/lib"
mandir_default="${prefix}/share/man"

So why is not the linker discovering it? Is not usr/native/lib the proper listing for all person put in libraries. Does MacOS not come arrange to make use of it by default?
If not, then is there a “appropriate” method I must be putting in libraries to verify future CLI installations work correctly?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles