내 Mac에서 일부 프로그램을 업데이트하고 있었고 갑자기 gnuplot을 실행하는 데 문제가 발생했습니다. 오류는 다음과 같습니다.
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
Referenced from: .../something/...
Reason: image not found
Trace/BPT trap: 5
gnuplot을 제거하고 더 이상 설치할 수 없기 때문에 내 자신의 오류가 아닙니다 (인터넷에서 매우 가까운이 붙여 넣기 붙여 넣기).
내가 실행하면 brew install gnuplot
, 내가 얻을 :
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you experience, as you are running this old version.
==> Installing dependencies for gnuplot: graphite2, harfbuzz, pango and qt
==> Installing gnuplot dependency: graphite2
==> Downloading https://github.com/silnrsi/graphite/releases/download/1.3.13/gra
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/e37be24d841649b167ec4be5e60ac444d5ec859aa32d694e93df5ff36c05b2bf--graphite2-1.3.13.tgz
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D
Last 15 lines from /Users/me/Library/Logs/Homebrew/graphite2/01.cmake:
2019-01-29 12:04:38 +0100
cmake
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/graphite2/1.3.13
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DHAVE_CLOCK_GETTIME:INTERNAL=0
CMake Error: No source or binary directory provided
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
Update graphite2 to reference src dir in cmake https://github.com/Homebrew/homebrew-core/pull/36376
Error: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you experience, as you are running this old version.
sourceForge에서 다운로드 할 때 gnuplot의 설치 파일에서 읽을 수 있습니다 :
Readline issues:
As I understand the situation, Apple ships OSX with a "fake" libreadline shared
library. The file /usr/lib/libreadline.dylib is really a symlink to a compatibility
layer over the BSD libedit library. But the compatibility isn't complete, and in
particular it is missing some routines used for readline support by gnuplot. The
./configure script should be able to cope with this. But you will still be left
without some of the functionality of the "real" libreadline. For one thing,
libedit doesn't handle UTF-8 input.
You have several options:
1) Delete the fake libreadline libraries from OSX and install the real gnu
libreadline as a system library.
2) Install the real gnu libreadline into your personal account and tell gnuplot
to use it: ./configure --with-readline=/my/private/readline/installdir
This may require some playing around with additional -L and -I definitions in
CFLAGS, and is probably harder than replacing the system copy of the library.
3) Use gnuplot's built-in readline routines. These now support UTF-8 input and
tab-completion of file names. ./configure --with-readline=builtin
brew로 두 번째 옵션과 같은 것을 어떻게 할 수 있는지 알고 있습니까?
고마워
편집하다 :
난 이미 시도 : brew switch readline 8.0.0
및 brew install gnuplot --with-readline=/usr/local/Cellar/readline/8.0.0/lib
하지만 작동하지 않습니다 ...