On Wednesday 04 October 2006 10:12, Ralph Stoker wrote:
> I am trying to use a freeware ballistics program and unable to configure it
> due to a missing library...though it would appear that I do have such a
> library on my system.
>
> The program was a tar.gz and so has to be manually configured as opposed to
> using YaST.
>
> On un-compressing and entering console to type # ./configure the following
> output was obtained:
> [EMAIL PROTECTED]:~/Desktop/saballistics-1.3.2> ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for linuxdoc... false
> checking for main in -lm... yes
> checking for main in -lncurses... no
> configure: error: ncurses library is required
> [EMAIL PROTECTED]:~/Desktop/saballistics-1.3.2>
>
> My SuSE system does have ncurses 5.4.65 installed under system/libraries as
> well as yast2-ncurses under system/YaST so I don't know why the program
> cannot find the library..or is it the wrong flavour of ncurses on my
> system?
>
> Any suggestions welcomed.
Could you test to see what ncurses libraries you have installed.
[EMAIL PROTECTED] ~/Desktop $ ls -l /lib/lib*curses*
Which should produce something like this:-

lrwxrwxrwx 1 root root     17 Jun 29 01:12 /lib/libcurses.so -> 
libncurses.so.5.5
lrwxrwxrwx 1 root root     18 Jun 29 01:12 /lib/libcursesw.so -> 
libncursesw.so.5.5
lrwxrwxrwx 1 root root     15 Jun 29 01:12 /lib/libncurses.so -> 
libncurses.so.5
lrwxrwxrwx 1 root root     17 Jun 29 01:12 /lib/libncurses.so.5 -> 
libncurses.so.5.5
-rwxr-xr-x 1 root root 259564 Jun 29 01:12 /lib/libncurses.so.5.5
lrwxrwxrwx 1 root root     16 Jun 29 01:12 /lib/libncursesw.so -> 
libncursesw.so.5
lrwxrwxrwx 1 root root     18 Jun 29 01:12 /lib/libncursesw.so.5 -> 
libncursesw.so.5.5
-rwxr-xr-x 1 root root 298240 Jun 29 01:12 /lib/libncursesw.so.5.5

Check that the symbolic links are in place, if not make them. Then run
the ldconfig utility.

If that doesn't work, a deeper level of guru meditation is required.
Start them off with a tail of the config.log file

-- 
CS

Reply via email to