Latest LQ Deal: Linux Power User Bundle
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 08-11-2009, 06:59 AM   #1
LQ Newbie
Registered: Aug 2009
Location: california
Distribution: fedora
Posts: 21

Rep: Reputation: 15
Error opening terminal:vt102 and error while loading shared

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..

error while loading shared libraries: cannot open shared object file: No such file or directory

Error opening terminal: vt102.

Kindly suggest me.

thank you

Old 08-12-2009, 12:03 AM   #2
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 "".

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 :-)


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


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

All times are GMT -5. The time now is 04:01 PM.

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