LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 09:38 AM   #1
vitronix
Member
 
Registered: Dec 2012
Posts: 45

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 09:39 AM. Reason: forgot something
 
Old 12-23-2012, 11:04 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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, 04:53 PM   #3
vitronix
Member
 
Registered: Dec 2012
Posts: 45

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 04:50 AM
problem with lncursesw dvbfreaky007 Linux - Newbie 2 02-23-2010 11:28 AM
utf8 locale LDFLAGS -lncursesw wrong, needs to be -lncurses? Mol_Bolom Linux - Software 0 07-26-2009 02:57 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 07:10 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM


All times are GMT -5. The time now is 06:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration