LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-22-2011, 01:32 AM   #1
teja483
LQ Newbie
 
Registered: Jun 2011
Posts: 13

Rep: Reputation: Disabled
error while loading shared libraries


hi all.

i have a platform independent compiler. so, i created the common api's and platform api's using my complier. so i have this library files named cmn_api.a & platform_api.a in my auto/linjtag/lib.(they will be created when we run the makefile of the compiler).

the problem is when i'm trying to run the console application of my compiler. i have a menu.c from which i choose different modes and i operated on that.when i tried to open one of the executable i'm getting this error

testuser@testuser-desktop:~/infra/tools/genie/B_linjtag_dbg$ ./genie
./genie: error while loading shared libraries: ../../../../infra/framework/lin/B_linjtag_dbg/cmn_api.so: cannot open shared object file: No such file or directory


thanks in advance.
 
Old 06-22-2011, 02:31 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'm intrigued ... what *IS* your platform independent compiler?



Cheers,
Tink
 
Old 06-22-2011, 02:39 AM   #3
teja483
LQ Newbie
 
Registered: Jun 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
i'm a newbie.
this is a compiler called kelly.i even dont know whether it is called it as a compiler or not.
i copy the folder called kelly_diags. which has the definitions of all make files and all that and then first we set the environment by running a shell file.
once the environment is set then we rum make file which on its way creates few libraries.
we use this libraries to see the menu mode we created in the console.
i hope that explained you, about what i'm doing.
 
Old 06-22-2011, 02:47 AM   #4
teja483
LQ Newbie
 
Registered: Jun 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
hey it was resolved its an issue with my makefile.

thanx for your support.
 
Old 06-22-2011, 02:48 AM   #5
teja483
LQ Newbie
 
Registered: Jun 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
its the LLLIBS of makefile which played the game with me.
 
  


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: libtermcap.so.2: cannot open shared object file astroboy2000ir Linux - Software 3 12-08-2010 12:16 AM
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec ramesh_india2020 Linux - Server 1 07-29-2010 01:52 PM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 04:19 PM
gxine: error while loading shared libraries: libmozjs.so: cannot open shared object.. khronosschoty Slackware 10 11-10-2008 08:33 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 08:03 AM


All times are GMT -5. The time now is 05:53 AM.

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