Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52513 closed defect (invalid)

gnuplot cannot load libreadline.6.dylib (El Capitan)

Reported by: mp6sf@… Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: gnuplot

Description

Hi, this is a new iMac with el Capitan. When I call gnuplot I get the following:

dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib
  Referenced from: /usr/local/bin/gnuplot
  Reason: no suitable image found.  Did find:
	/opt/local/lib/libreadline.6.dylib: mach-o, but wrong architecture
Trace/BPT trap

I tried to solve the problem with the following steps:

  1. install the most recent version of MacPorts
  2. sudo port selfupdate
  3. sudo port upgrade outdated -> nothing to upgrade
  4. sudo port upgrade readline ---> No broken files found.
  5. sudo port upgrade gnuplot ---> No broken files found.

but the problem persists. I already searched for similar tickets but this didn't solve the problem. Please help, gnuplot is a critical tool for me. Thanks.

Change History (4)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mojca@…
Port: gnuplot added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers gnuplot), if any.

comment:2 Changed 8 years ago by gnw3

The report indicates: "Referenced from: /USR/local/bin". Does "/opt/local/bin/gnuplot" work?

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Good catch. We do not support /usr/local/ where you are apparently trying to run gnuplot from.

See wiki:FAQ#usrlocal.

comment:4 Changed 8 years ago by mp6sf@…

Thanks, I missed that. With the correct path it work. I must have copied an old version in /usr/local when I migrated from an old Mac. Sorry for not following the rules, will do in the future.

Note: See TracTickets for help on using tickets.