LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2012, 08:38 AM   #1
vitronix
Member
 
Registered: Dec 2012
Posts: 56

Rep: Reputation: Disabled
lncursesw problem


Hello,

I tried to compile a free pascal program but it doesn't work.
The fp_err files gives the following output:

/usr/bin/ld: cannot find -lncursesw.

I tried to install ncurses-5.9, both by compiling and using the .deb package.

The programs in the ncurses directory run fine.

I am using Kubuntu 12.04.1, free pascal 2.6.0

Thanks in advance.

Last edited by vitronix; 12-23-2012 at 08:39 AM. Reason: forgot something
 
Old 12-23-2012, 10:04 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

sudo apt-get install libncursesw5-dev
Provides /usr/lib/<arch>-linux-gnu/libncursesw.so


And when compiling from source, the configure option is : --with-ncursesw

.
 
Old 12-23-2012, 03:53 PM   #3
vitronix
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Talking

Thanks !

It works, after I gave the sudo apt-get install libncursesw5-dev I had to run apt-get -f install then apt-get install libncursesw5-dev again.
Compiled an example and it runs like a champ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 03:50 AM
problem with lncursesw dvbfreaky007 Linux - Newbie 2 02-23-2010 10:28 AM
utf8 locale LDFLAGS -lncursesw wrong, needs to be -lncurses? Mol_Bolom Linux - Software 0 07-26-2009 01:57 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 PM.

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