GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Jun-2009, 20:37
calvinlyp calvinlyp is offline
New Member
 
Join Date: Jun 2009
Posts: 8
calvinlyp is on a distinguished road
Unhappy

Error in loading shared libraries


hi all,

i am using ubuntu 8.10. i was trying to run a perl script which will in turn invoke a C++ program call sharc(which can be downloaded from http://sourceforge.net/projects/sharc/) however i got an error below:

/usr/bin/sharc: error while loading shared libraries: libstdc++-libc6.
+2-2.so.3: cannot open shared object file: No such file or directory

is it that i miss out some installation of libraries?

pls help. thanks.
  #2  
Old 04-Jun-2009, 02:33
Mexican Bob's Avatar
Mexican Bob Mexican Bob is offline
Member
 
Join Date: Mar 2008
Location: Chicxulub, Yucatán
Posts: 226
Mexican Bob is a jewel in the roughMexican Bob is a jewel in the roughMexican Bob is a jewel in the rough

Re: error in loading shared libraries


Quote:
Originally Posted by calvinlyp
hi all,

i am using ubuntu 8.10. i was trying to run a perl script which will in turn invoke a C++ program call sharc(which can be downloaded from http://sourceforge.net/projects/sharc/) however i got an error below:

/usr/bin/sharc: error while loading shared libraries: libstdc++-libc6.
+2-2.so.3: cannot open shared object file: No such file or directory

is it that i miss out some installation of libraries?

pls help. thanks.

Don't cross-post the same thread in different forum areas. The code from the project that you specify is C++-centric.

The "sharc" sources do not appear to be currently maintained. Most of the files are dated before 2008. When configured and built, they produce a large number of warnings and finally an error. Some of the files in the distribution archive are executable and they are .cpp and .h files.

Code:
-rwxr-xr-x 1 mxb mxb 11333 2007-02-08 14:28 gpstime.cpp -rwxr-xr-x 1 mxb mxb 2797 2007-04-24 13:36 gpstime.h

Perhaps you should get the sources to compile on your machine before trying to figure out why some binary doesn't execute. Chances are that there is a library version mismatch. Sometimes all that you have to do in such cases is create a symlink that is named to the version desired that points to the version that you have, but that is likely a poor hack. Welcome to the world of "betas."


MxB
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem executing nam-1.13 RodolfoAlvizu Computer Software Forum - Linux 20 28-Feb-2009 16:23
Segmentation Fault ... Shared Libraries in Linux spooshah C++ Forum 0 12-Nov-2008 06:49
Loading shared libraries - dlopen unknown reference - dlfcn not working? PC Nerd C++ Forum 12 04-Nov-2008 22:43
Shared Libraries with qmake and Exception Handling PiJ C++ Forum 3 18-Dec-2007 10:29
Child Thread fails to update Shared Memory Correctly j_kenpo C++ Forum 1 12-Jul-2005 18:06

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:26.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.