Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-26-2009, 02:57 AM   #1
Registered: Nov 2008
Location: S.W. Kansas
Distribution: Slackware64 14.0 / 14.2
Posts: 243
Blog Entries: 2

Rep: Reputation: 41

I have been trying to figure out how to make mc and dvtm look decent after changing my locale to utf8. After weeks of making changes and repairing those changes when they didn't work, not long ago I modified the last part of LIBS which is used in LDFLAGS from -lncursesw to -lncurses in for dvtm-0.5.2 which worked perfectly in the console, now I only have to do this with mc...

However, from everything I've read -lncursesw should be used for the utf8 locale, not -lncurses. I checked my libraries which are all correct. At least I think they are...

-rw-r--r-- 1 root root 407214 2008-02-21 14:40 libncurses.a
-rw-r--r-- 1 root root 421340 2008-02-21 14:40 libncurses++.a
lrwxrwxrwx 1 root root     20 2009-07-15 12:26 -> /lib/
lrwxrwxrwx 1 root root     12 2009-07-16 13:48 ->
-rw-r--r-- 1 root root 421396 2008-02-21 14:42 libncurses++w.a
-rw-r--r-- 1 root root 472800 2008-02-21 14:42 libncursesw.a
lrwxrwxrwx 1 root root     21 2009-07-15 12:26 -> /lib/
lrwxrwxrwx 1 root root     13 2009-07-16 13:48 ->
Anyway, any idea why I had to use -lncurses and not -lncursesw?

<Edit> I don't know if this is important, but I just checked an old variant of dvtm (compiled with -lncursesw) and 0.5.2 (-lncurses) in urxvt and they both worked perfectly.

Last edited by Mol_Bolom; 07-27-2009 at 05:47 PM.


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
ld: cannot find -lncurses davelw Linux - Software 2 06-12-2005 02:54 AM
is resierfs 4 ready?, and can it work under utf8 locale ? SciYro Linux - General 4 02-02-2005 11:16 PM
how to install a particular locale (et_EE.UTF8) otoomet Debian 4 11-03-2004 05:27 AM
kernel config -lncurses grimslater Linux - Software 2 12-01-2003 02:38 PM
XFree86 gcc -lncurses question Sammy2ooo Linux - Newbie 4 09-05-2003 09:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 AM.

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