This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 179172

Summary: unbuffer.dylib not found
Product: cnd Reporter: prohaska
Component: executionAssignee: Andrew Krasny <akrasny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 180387    
Bug Blocks:    

Description prohaska 2010-01-04 02:18:36 UTC
Dylib "Contents/Resources/NetBeans/dlight2/bin/nativeexecution/MacOSX-x86/unbuffer.dylib" not found while launching the project in console "Output window".

I think, it's a problem of 64 bit code.

Solution:
First, rename unused folder "Contents/Resources/NetBeans/dlight2/bin/nativeexecution/MacOSX-x86" to "Contents/Resources/NetBeans/dlight2/bin/nativeexecution/MacOSX-x86_" or so..
Second, rename folder "Contents/Resources/NetBeans/dlight2/bin/nativeexecution/MacOSX-x86_64" to "Contents/Resources/NetBeans/dlight2/bin/nativeexecution/MacOSX-x86".
Comment 1 Thomas Preisler 2010-01-05 12:26:09 UTC
As a work-around, you can set Console Type back to external terminal (project properties->Run->Console Type->Default). I believe the bug happens only if you use the built-in output window (Console Type == Output Window).
Comment 2 Andrew Krasny 2010-02-10 08:48:45 UTC
As we are going to use terminal emulator for I/O, the unbuffering will not be required... 

And in this version (6.8) for MacOS it is safe to turn unbuffering off with the 
execution.no_unbuffer=true flag (start NB with -J-Dexecution.no_unbuffer=true)
Comment 3 Andrew Krasny 2010-03-16 14:18:58 UTC
http://hg.netbeans.org/cnd-main/rev/58f7233dc988