Subject: ncurses on OS X 10.3 ( darwin 7.0.0 )
To: None <tech-pkg@netbsd.org>
From: Brad Volz <bradv@affectation.org>
List: tech-pkg
Date: 11/01/2003 20:06:43
I seem to have encountered an issue with ncurses on OS X 10.3.

The error that I receive from bmake is --

----------------------------------------------------------------------
Libraries have been installed in:
    /Volumes/UFS/usr/pkg/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
      during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
installing ./cursesapp.h in /Volumes/UFS/usr/pkg/include
installing ./cursesf.h in /Volumes/UFS/usr/pkg/include
installing ./cursesm.h in /Volumes/UFS/usr/pkg/include
installing ./cursesp.h in /Volumes/UFS/usr/pkg/include
installing ./cursesw.h in /Volumes/UFS/usr/pkg/include
installing ./cursslk.h in /Volumes/UFS/usr/pkg/include
installing etip.h in /Volumes/UFS/usr/pkg/include
install -c -o root -g wheel -m 444 
/Volumes/UFS/usr/pkgsrc/devel/ncurses/work/nc
urses-5.3/c++/demo.cc  
/Volumes/UFS/usr/pkg/share/examples/ncurses++demo.cc
gawk: cmd. line:1: warning: escape sequence `\/' treated as plain `/'
gawk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
sh: line 1: lib/libform.dylib: No such file or directory
sh: line 1: lib/libform.5.dylib: No such file or directory
sh: line 1: lib/libmenu.dylib: No such file or directory
sh: line 1: lib/libmenu.5.dylib: No such file or directory
sh: line 1: lib/libncurses++.dylib: No such file or directory
sh: line 1: lib/libncurses++.5.dylib: No such file or directory
sh: line 1: lib/libncurses.dylib: No such file or directory
sh: line 1: lib/libncurses.5.dylib: No such file or directory
sh: line 1: lib/libpanel.dylib: No such file or directory
sh: line 1: lib/libpanel.5.dylib: No such file or directory
*** Error code 1

Stop.
bmake: stopped in /Volumes/UFS/usr/pkgsrc/devel/ncurses
*** Error code 1

However, looking in /Volumes/UFS/usr/pkg/lib I can see that the files 
do exist.  For example --

[wet151:usr/pkg/lib] bradv% ls -al libncurses.*
-r--r--r--  1 root  wheel  258028  1 Nov 19:15 libncurses.5.3.dylib
lrwxr-xr-x  1 root  wheel      20  1 Nov 19:15 libncurses.5.dylib -> 
libncurses.5.3.dylib
-rw-r--r--  1 root  wheel  489768  1 Nov 19:15 libncurses.a
lrwxr-xr-x  1 root  wheel      20  1 Nov 19:15 libncurses.dylib -> 
libncurses.5.3.dylib
-r--r--r--  1 root  wheel     792  1 Nov 19:15 libncurses.la
[wet151:usr/pkg/lib] bradv%

Could this be a PLIST issue perhaps?  I don't see any references to 
files with a .dylib extension in the PLIST.

Or is there some other issue?

Brad