#9897 closed defect (fixed)
BUG: readline-5.1 doesn't install a 5.0.dylib required by gnuplot
Reported by: | mjb@… | Owned by: | pipping@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
gnuplot fails to run because it tries to load a version of readline that is not present.
Marlowe:~/Documents/Projects/Ion Channels mjb$ gnuplot dyld: Library not loaded: /opt/local/lib/libreadline.5.0.dylib
Referenced from: /opt/local/bin/gnuplot Reason: image not found
Trace/BPT trap
/opt/local/lib had a libreadline.5.1.dylib and libreadline.5.dylib, but not libreadline.5.0.dylib. Since I had a pressing need to use gnuplot, I "solved" the problem by making a symbolic link to libreadline.5.1.dylib named libreadline.5.0.dylib. This seems to work so far, based on (very) limited testing.
A quick check of rlwrap shows the same problem. It's a readline issue, apparently.
Change History (8)
comment:1 Changed 18 years ago by markd@…
Summary: | gnuplot and others try to use non-existent readline → BUG: gnuplot and others try to use non-existent readline |
---|
comment:2 Changed 18 years ago by markd@…
Summary: | BUG: gnuplot and others try to use non-existent readline → BUG: readline-5.1 doesn't install a 5.0.dylib required by gnuplot |
---|
comment:3 Changed 18 years ago by cssdev
comment:4 Changed 18 years ago by pipping@…
Milestone: | → Available Ports |
---|---|
Owner: | changed from macports-tickets@… to pipping@… |
Status: | new → assigned |
comment:6 Changed 18 years ago by pipping@…
Milestone: | Available Ports → Port Bugs |
---|
comment:7 Changed 18 years ago by pipping@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
no new feedback, presumably fixed in r22947.
Note: See
TracTickets for help on using
tickets.
You should upgrade gnuplot after upgrading readline. You apparently had readline-5.0 installed when you originally built gnuplot, and you must have upgraded to readline-5.1. That upgrade process removed the older dylib, thus breaking gnuplot. Until the linking process links the proper compatbility version of a dylib, you will need to rebuild dependent applications when upgrading libraries. Use
port dependents readline
to list all installed ports which depend upon readline. You should remove and rebuild them.