Opened 8 years ago

Closed 8 years ago

#50558 closed defect (invalid)

postgresql93: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib

Reported by: EJFielding (Eric Fielding) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: postgresql93

Description

I ran a port upgrade outdated, and it tried to upgrade postgis2. The postgis2 is set to add +postgresql93, so it tried to build postgresql93 (postgresql93-9.3.10_0), which failed to build. I attach the log

Attachments (2)

main.log (29.7 KB) - added by EJFielding (Eric Fielding) 8 years ago.
config.log (349.5 KB) - added by EJFielding (Eric Fielding) 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by EJFielding (Eric Fielding)

Attachment: main.log added

Changed 8 years ago by EJFielding (Eric Fielding)

Attachment: config.log added

comment:1 Changed 8 years ago by EJFielding (Eric Fielding)

This was on OS X 10.9.5, my other 10.10.5 machine did not have an error.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Port: postgresql93 added
Summary: postgis2 @2.1.7 +postgresql93+raster+topology upgrade failspostgresql93: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib

The config.log says:

dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
  Referenced from: /opt/local/lib/libreadline.6.dylib
  Reason: image not found

That is similar to but slightly different from ProblemHotlist#ncurses6.

The library /opt/local/lib/libncurses.6.dylib should exist. Does it? If not, does a different libncurses library version exist (which one)? Which version of the ncurses port installed? (port installed ncurses)

comment:3 Changed 8 years ago by EJFielding (Eric Fielding)

Thanks for the help. It seems that I have a different version activated:

% port installed ncurses
The following ports are currently installed:
  ncurses @5.9_2 (active)
  ncurses @6.0_0
% ls /opt/local/lib/libncurses*
/opt/local/lib/libncurses++.a		/opt/local/lib/libncurses.dylib
/opt/local/lib/libncurses++w.a		/opt/local/lib/libncursesw.5.dylib
/opt/local/lib/libncurses.5.dylib	/opt/local/lib/libncursesw.a
/opt/local/lib/libncurses.a		/opt/local/lib/libncursesw.dylib

I was able to just "port activate ncurses @6.0_0" to get the /opt/local/lib/libncurses.6.dylib installed. Now MacPorts has successfully rebuilt postgresql93 and postgis2.

Thanks again.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.