LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-11-2009, 05:59 AM   #1
nathan
LQ Newbie
 
Registered: Aug 2009
Location: california
Distribution: fedora
Posts: 21

Rep: Reputation: 15
Error opening terminal:vt102 and error while loading shared libraries:libncurses.so.5


Hi ,

i am compiling for my target board using arm-linux-gcc -s -static filename.c -o out -lncurses

i am getting fallowing errors
i am getting following error..


1.
error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

2.
Error opening terminal: vt102.

Kindly suggest me.

thank you


nathan
 
Old 08-11-2009, 11:03 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Undoubtedly the "vt200" error is because your program can't initialize "ncurses".

The "ncurses" error is because your target system doesn't seem to have a "libncurses.so.5".

Your program shouldn't have linked if there wasn't a a curses library on your development system. It looks like you tried to link statically ("-lstatic") ... but I guess it didn't work :-)

Soooooo

1. It looks like there's only one "root cause": if you solve the "libcurses" problem, you fix both errors.

2. You need to either a) find a shared libncurses for your target platform (frankly, I'd recommend this approach) or b) figure out how to link curses statically (provided you have an appropriate "libncurses.a" in your build environment, it shouldn't be too hard).

'Hope that helps .. PSM
 
  


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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
error while loading shared libraries: libhid.so.0: cannot open shared object file: No misungs Linux - Software 4 06-10-2009 12:05 PM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
wine error: error while loading shared libraries... eam Linux - Software 0 11-26-2003 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 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