Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#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 readlineBUG: 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 readlineBUG: readline-5.1 doesn't install a 5.0.dylib required by gnuplot

comment:3 Changed 18 years ago by cssdev

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.

comment:4 Changed 18 years ago by pipping@…

Milestone: Available Ports
Owner: changed from macports-tickets@… to pipping@…
Status: newassigned

comment:5 Changed 18 years ago by pipping@…

probably fixed in r22947.

please confirm.

comment:6 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:7 Changed 18 years ago by pipping@…

Resolution: fixed
Status: assignedclosed

no new feedback, presumably fixed in r22947.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.