LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-19-2005, 09:21 AM   #1
drumstick
Member
 
Registered: Mar 2005
Location: Istanbul
Distribution: Ubuntu Desktop 6.06, SuSE Linux 9.3 Professional
Posts: 35

Rep: Reputation: 15
Where is the "curses.h" ?


Hello,

I have installed SuSE 9.3 Professional. I have a source code, but it needs "curses.h" header file. But it is not coming installed with the software I think. Which package group should I have to install, or where can I find it?

Thanks in advance...
 
Old 05-19-2005, 10:14 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Try to install the ncurses-devel package. If something like header files are missing, it's usually the devel-package that provides them.

EDIT: Don't know the package group, but YaST has a good search engine

Last edited by abisko00; 05-19-2005 at 10:15 AM.
 
Old 05-19-2005, 02:28 PM   #3
drumstick
Member
 
Registered: Mar 2005
Location: Istanbul
Distribution: Ubuntu Desktop 6.06, SuSE Linux 9.3 Professional
Posts: 35

Original Poster
Rep: Reputation: 15
Hi,

First of all thank you for your help. "ncurses-devel" did it. But now I have another problem. This time I need "lcurses".

If anyone knows where it is, please reply. Thank you...


drumstick@linux:~/MazeProject> make
g++ -Wall Main.o Maze.o -o maze -lcurses
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make: *** [maze] Error 1
 
Old 05-19-2005, 04:58 PM   #4
drumstick
Member
 
Registered: Mar 2005
Location: Istanbul
Distribution: Ubuntu Desktop 6.06, SuSE Linux 9.3 Professional
Posts: 35

Original Poster
Rep: Reputation: 15
This is a bit urgent guys. And I still couldn't find it.

So if you have any idea, please help. Thanks...
 
Old 05-20-2005, 02:27 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
There might be an option in ./configure (if this is used) to decide whether to use curses or ncurses. Otherwise you may need yo adjust that in the makefile yourself.
 
Old 01-06-2006, 10:15 PM   #6
kevinm3574
LQ Newbie
 
Registered: Oct 2004
Location: Chicago
Distribution: SuSE 9.0
Posts: 3

Rep: Reputation: 0
-lcurses missing

install termcap rpm which has libcurses.so.? and libcurses.a. Make sure you link /usr/lib/curses/libcurses.a to /usr/lib/libcurses.a OR make sure that your LD_LIBRARY_PATH includes /usr/lib/curses as not being able to find the .a file may make your compile fail even though it can now find the shared library file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration