[opensuse-programming] make doesn't find libncurses eventhough it is installed
Hello: I am trying to make Edinburgh Speech Tools in order to program a new voice for Festival. To make the speech tools I need the libncurses library. I already installed it with the dev package. But still I get the following message: Making in directory ./main ... gcc -O3 -Wall -o ch_lab ch_lab_main.o -L../lib -lestools -L../lib -lestbase -L../lib -leststring -lcurses -ldl -lm -lstdc++ -lgcc /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses collect2: ld returned 1 exit status make[1]: *** [ch_lab] Error 1 make: *** [main] Error 2 This is the output of ldconfig: gabo@lila:~> /sbin/ldconfig -p | grep curs libncursesw.so.5 (libc6,x86-64) => /lib64/libncursesw.so.5 libncursesw.so.5 (libc6) => /lib/libncursesw.so.5 libncursesw.so (libc6,x86-64) => /usr/lib64/libncursesw.so libncursesw.so (libc6) => /usr/lib/libncursesw.so libncurses.so.5 (libc6,x86-64) => /lib64/libncurses.so.5 libncurses.so.5 (libc6) => /lib/libncurses.so.5 libncurses.so (libc6,x86-64) => /usr/lib64/libncurses.so libncurses.so (libc6) => /usr/lib/libncurses.so libXcursor.so.1 (libc6,x86-64) => /usr/lib64/libXcursor.so.1 libXcursor.so.1 (libc6) => /usr/lib/libXcursor.so.1 Any suggestions? I've been hitting my head to a wall (not literally of course) for days trying to figure this out. Happy Holidays Gabriel Moreno Cholula, Mexico --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
Do ./configure --help and look for the option to pass to configure, to tell it where the required library is located. Hopefully that will help configure to look in the right place for the library. Regards Keith Roberts ----------------------------------------------------------------- Websites: http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] ----------------------------------------------------------------- On Mon, 17 Dec 2007, Gabriel Moreno wrote:
To: opensuse-programming@opensuse.org From: Gabriel Moreno
Subject: [opensuse-programming] make doesn't find libncurses eventhough it is installed Hello:
I am trying to make Edinburgh Speech Tools in order to program a new voice for Festival.
To make the speech tools I need the libncurses library. I already installed it with the dev package. But still I get the following message:
Making in directory ./main ... gcc -O3 -Wall -o ch_lab ch_lab_main.o -L../lib -lestools -L../lib -lestbase -L../lib -leststring -lcurses -ldl -lm -lstdc++ -lgcc /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses collect2: ld returned 1 exit status make[1]: *** [ch_lab] Error 1 make: *** [main] Error 2
This is the output of ldconfig:
gabo@lila:~> /sbin/ldconfig -p | grep curs libncursesw.so.5 (libc6,x86-64) => /lib64/libncursesw.so.5 libncursesw.so.5 (libc6) => /lib/libncursesw.so.5 libncursesw.so (libc6,x86-64) => /usr/lib64/libncursesw.so libncursesw.so (libc6) => /usr/lib/libncursesw.so libncurses.so.5 (libc6,x86-64) => /lib64/libncurses.so.5 libncurses.so.5 (libc6) => /lib/libncurses.so.5 libncurses.so (libc6,x86-64) => /usr/lib64/libncurses.so libncurses.so (libc6) => /usr/lib/libncurses.so libXcursor.so.1 (libc6,x86-64) => /usr/lib64/libXcursor.so.1 libXcursor.so.1 (libc6) => /usr/lib/libXcursor.so.1
Any suggestions? I've been hitting my head to a wall (not literally of course) for days trying to figure this out.
Happy Holidays
Gabriel Moreno Cholula, Mexico --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Tue, 18 Dec 2007, 06:53:16 +0100, Gabriel Moreno wrote:
Hello:
I am trying to make Edinburgh Speech Tools in order to program a new voice for Festival.
To make the speech tools I need the libncurses library. I already installed it with the dev package. But still I get the following message:
Making in directory ./main ... gcc -O3 -Wall -o ch_lab ch_lab_main.o -L../lib -lestools -L../lib -lestbase -L../lib -leststring -lcurses -ldl -lm -lstdc++ -lgcc /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses collect2: ld returned 1 exit status make[1]: *** [ch_lab] Error 1 make: *** [main] Error 2
This is the output of ldconfig:
gabo@lila:~> /sbin/ldconfig -p | grep curs libncursesw.so.5 (libc6,x86-64) => /lib64/libncursesw.so.5 libncursesw.so.5 (libc6) => /lib/libncursesw.so.5 libncursesw.so (libc6,x86-64) => /usr/lib64/libncursesw.so libncursesw.so (libc6) => /usr/lib/libncursesw.so libncurses.so.5 (libc6,x86-64) => /lib64/libncurses.so.5 libncurses.so.5 (libc6) => /lib/libncurses.so.5 libncurses.so (libc6,x86-64) => /usr/lib64/libncurses.so libncurses.so (libc6) => /usr/lib/libncurses.so libXcursor.so.1 (libc6,x86-64) => /usr/lib64/libXcursor.so.1 libXcursor.so.1 (libc6) => /usr/lib/libXcursor.so.1
Any suggestions? I've been hitting my head to a wall (not literally of course) for days trying to figure this out.
Just re-read the error message ;-) Your build is *not* looking for libncurses, but libcurses... If you really want to use the (very) old libcurses, you should install the termcap package, but there ought to be some configuration option allowing you to specify which curses variant you want to use.
Happy Holidays
Gabriel Moreno Cholula, Mexico
Cheers. l8er manfred --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
participants (3)
-
Gabriel Moreno
-
Keith Roberts
-
Manfred Hollstein