Weird problem with ncurses(w)

cssdev at mac.com cssdev at mac.com
Mon Jan 29 06:36:03 PST 2007


On Jan 27, 2007, at 9:02 PM, Ryan Schmidt wrote:

>> pmmbp:/opt/local/lib pmoura$ otool -L libncurses.5.dylib
>> libncurses.5.dylib:
>>         /opt/local/var/db/dports/build/ 
>> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate 
>> _dports_devel_ncurses/work/destroot/opt/local/lib/libncurses. 
>> 5.dylib (compatibility version 5.0.0, current version 5.0.0)
>>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
>> current version 88.3.4)
>> pmmbp:/opt/local/lib pmoura$ otool -L libncursesw.5.dylib
>> libncursesw.5.dylib:
>>         /opt/local/var/db/dports/build/ 
>> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate 
>> _dports_devel_ncursesw/work/destroot/opt/local/lib/libncursesw. 
>> 5.dylib (compatibility version 5.0.0, current version 5.0.0)
>>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
>> current version 88.3.4)
>
> I installed ncurses and ncursesw on my PowerBook G4 last week. I  
> have just about the same output as you do.
>
>> This breaks other software that I'm trying to install on my  
>> MacBook Pro (10.4.8 with the latest updates). I'm using a fresh  
>> install of MacPorts, updated to the latest version. Your help is  
>> appreciated.
>
> In what way is this broken? Is the problem that it is listing a  
> path in the work directory that no longer exists? What problems do  
> you encounter when trying to install other software -- what error  
> messages appear? Do you know what changes need to be made to  
> ncurses (or ncursesw) to solve the problem?

The rpath (install_name on Mac OS X) is incorrect. The source  
apparently uses the build rpath rather than the install rpath. The  
port needs to either skip setting the rpath or set it correctly.

Chris



More information about the macports-users mailing list