Programming :: Different Processes Using Same File Object
Sep 29, 2009
I have 2 completely different processes A and B (they do not have any relationship) suppose A opens a file with file descriptor 4 and B opens another file with file descriptor 5
Can process A use the fd 5 (i.e using the file object of processs B) by any means..if suppose i let the fd 4 of process A to point to the file object of process B(fd 5) will it work? is it safe?
View 3 Replies
ADVERTISEMENT
Aug 6, 2010
I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.
error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Aug 14, 2009
Is there any way may be some tools to view and explore contents of .obj files (in a formatted or unformatted way) or an executable. Can we do it using gcc?
View 1 Replies
View Related
Jul 11, 2011
I am trying to check what all processes are accessing a particular file (a UDP socket in my case) on a filesystem.I am using 'fuser' for that.But, it seems, it only gives the processes accessing the file at that particular moment.Is there any way to continuously run 'fuser' (or some other command) which will give all processes accessing the file during its run?OR is it possible to generate a filesystem alert when a particular process accesses the file?
View 1 Replies
View Related
Sep 22, 2009
I came from Windows and I am want to learn how C++ programs are compiled and executed in Linux. I read in "Thinking in C++" that the linker adds (by default) a startup module to the object files that an application should be made of. Now when I use g++, I can create an single object module out of a single source code file then execute it in the terminal like this:
./objectFile.out
How can this object file be executed while it doesn't contain the startup module? In Windows, object files usually get combined into an executable file (somthing.exe) then that executable can be executed, is this not necessary in Linux? does the OS perform required actions before it executes that object file?
View 3 Replies
View Related
May 10, 2010
I am trying to have GNU assembler produce object file COFF format? I did not find relevant information from GNU assembler's manual.
View 1 Replies
View Related
Mar 27, 2010
I wanted to know how can I change the default place of shared object files of a program in a system. let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.
View 1 Replies
View Related
Sep 10, 2010
I hava a source file add.c
int add(int a,int b){
return a+b;
}
then i compile it, gcc -c add.c now we get a object file add.o, I want to execute the function add(int a,int b)(the functinon in the object file add.o) how can i use libbfd to execute it?
View 1 Replies
View Related
Mar 1, 2010
Only ones I can think of seem overly complex, and I'm sure there is a simple solution I am overlooking. I have a class, it has a member who is an object. This object needs to be able to represent an object of different types.
[code]...
Where "surface" could be several different types, which will be set during execution. Hope this is clear enough. I have tried using templates but am getting "data member cannot be a member template". Either I have incorrect syntax, or am not implementing it right. another solution would have one class containing definitions of all possible shapes, But this would take up extra memory. Other solutions I thought of seem too round-about, and seems there is a simpler solution that I have overlooked.
View 8 Replies
View Related
Apr 1, 2010
I am currently using Ubuntu 9.10. I am writing a small code in C which test the connectivity with MYSQL. I am getting this error. "libmysqlclient.so.14: cannot open shared object file: No such file or directory" What I understand is that you need MYSQL development package in order to access MYSQL database in C. I installed MYSQL using this command. apt-get install mysql-server mysql-client
View 2 Replies
View Related
May 13, 2010
Now that I've entered the realms of permanent beta software I'm completely lost.
I compile a program like this: icc main.c -L. -lxyz -L/usr/X11R6/lib -lX11 -lpthread -lm -std=c99
(But I have no concrete idea about what -L and -l mean. l is short for lib? Why? -L seems to specify the path for some library that follow directly afterwards?). Anyway, it works.
So I get an output file a.out (why a?), which I run by writing ./a.out .
Then I get this error message: error while loading shared libraries: lxyz.so: cannot open shared object file: No such file or directory
I have it in my directory but it won't find it? What's wrong?
View 2 Replies
View Related
Mar 7, 2010
Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.
View 1 Replies
View Related
Feb 15, 2010
there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Jul 27, 2010
When running the beta of blender 2.5, I get the following error. blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory In previous versions of ubuntu you could 'apt-get install python2.5' to resolve the issue, but it doesn't appear in any/all of the repositories. where I can get python2.5 for lucid-lynx?
View 1 Replies
View Related
Aug 8, 2010
I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:
/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.
View 1 Replies
View Related
Dec 22, 2010
I followed [URL] that thread for installing BitPim on 10.04, but am getting this error:
Quote:
Traceback (most recent call last):
File "/opt/cx_Freeze-3.0.3/initscripts/ConsoleSetLibPath.py", line 35, in <module>
File "src/bp.py", line 20, in <module>
File "src/bp_cli.py", line 21, in <module>
[code]....
View 1 Replies
View Related
Jun 10, 2010
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
View 5 Replies
View Related
May 22, 2011
I get an error when running slapt-get. The error is: "slapt-get: error while loading shared libraries: libsas.so.2: cannot open shared object file: No such file or directory".
I've booted the Slackware disk # 1 and unchecked everything except the libraries category and installed them. I rebooted and it still says this. I get this same error before I put the disk in and rebooted to install ALL libraries. I really need help. BTW, I can't load KDE.I found a pkg manager already installed called "slackpkg". But I really need help on this library issue!! I uninstalled it (slapt-get) anyway, so forget that!
View 3 Replies
View Related
Oct 26, 2010
after updating my system I can't start VirtualBox-OSE anymore. I get the error:
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: VBoxVMM.so: cannot open shared object file: No such file or directory
I try to remove and to re-install VirtualBox-OSE again, still the same error. VirtualBox works as root but not from a user account. The installed version is VirtualBox-OSE.i686 3.2.6-2.fc13 @rpmfusion-free-updates
View 12 Replies
View Related
Mar 28, 2011
I am trying to run Ansys on Fedora (64bit), but every time I do it gives me this error. "error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory"Please help as I am stuck with this issue for long.
View 6 Replies
View Related
Jul 10, 2011
I'm trying to use a software on OpenSuSE 11.3 (64) and am getting an error message similar to the one in the title. I did a bit of background reading on libjpeg.so.62 that the program was asking for. I noticed that I had a file called libjpeg.so.8 in my /usr/lib/ folder. I found a libjpeg.so.62 file online, downloaded it and copied to to my /usr/lib folder, but its not making any difference.
View 1 Replies
View Related
May 11, 2010
I've got a problem with running a program called Synapse in ubuntu 10.04.
When i run "runSynapse.sh" script nothing happens. Then i tried running it from terminal with sudo command and this is what i got:
Code:
error while loading shared libraries: libalter.so.1: cannot open shared object file: No such file or directory
I checked the synapse directory but libalter.so.1 was there.
View 1 Replies
View Related
Sep 6, 2010
Whenever I try to install a game thats in a .run file format, I get the following error. libgtk-1.2.so.0: cannot open shared object file: No such file or directory
I am trying to install Unreal Tournament.
View 4 Replies
View Related
Mar 4, 2010
i have a problem with realplayer 11 i can't open it due to that error message
Code:
/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem
View 4 Replies
View Related
Mar 28, 2010
I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
View 6 Replies
View Related
Mar 14, 2011
I have installed and built gazebo and it passed without any errors.I'm running on ubunto 10.10, and I installed gazebo version 0.10 (straight from their website)while trying to run it ( with a given world or without as shown below) I get the following error:
root:~# gazebo
gazebo: error while loading shared libraries: libassimp.so: cannot open shared object file: No such file or directory
I tried installing libassimp again, I have installed the 2.0 version from this link
[URL]
when searching for libassimp I get the following results:
root:~#find / | grep libassimp.so
/home/admin123/Downloads/gazebo-0.10.0/build/3rd_party/assimp/code/libassimp.so
/home/admin123/Downloads/assimp--2.0.863-sdk/build/code/libassimp.so.2.0.0
/home/admin123/Downloads/assimp--2.0.863-sdk/build/code/libassimp.so
[code]....
View 1 Replies
View Related
Sep 9, 2010
I tried to upgrade my slackware xfce 13.0 >> 13.1. I read "man slackpkg" first, and then I did exactly what I read at the man pages, my system was in init 1 mode.
The mirror I used it was the Greek mirror for 13.1. The command slackpkg upgrade-all was running ok until the "r" letter after that all packages did not upgraded because it was ERROR CHECKSUMS.md5 to all of them. Slackpkg did not upgrade all this packages but just check them and them skip them.
When everything stopped I reboot but at loading time it stops and I have this message: "libuuid.so.1:cannot open shared object file: No such file or directory."
After that I have 2 options to press control-d to reboot or to give root pass and login as root@(none):
After I login I cant connect to internet, I cant shutdown the system only reboot it from cl, I even cant go to init 1 or anything else. I dont know if I can fix the problem but I have to try...
View 2 Replies
View Related
Jun 3, 2011
Code:
bash-4.1$ konqueror
konqueror: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory
View 5 Replies
View Related
Jun 18, 2009
I've just installed F11 (x86_64) on my computer. I've been using x86_64 since Fedora 7 and normally I use a manually installed i386 firefox/thunderbird. This time I've tried to do the same using Fireox 3.5b4 but I got many troubles. The last error I got is:
./firefox-bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory but that lib is not available on the standard repository. I've tried to use the i386 version of thunderbird (2.0.0.9) but I got this error: ./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory but on the repository there is just the libstdc++-4.4.0-4.i586 lib.
View 4 Replies
View Related
Oct 31, 2010
After upgrading from 10.4 to 10.10, the Ubuntu Software Center refused to start, and I got an icon in the notification area saying that "a problem occurred when checking for the updates." When I run software-center in the terminal, I get this error message:
Code:
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 32, in <module>
[code]...
I've tried re-installing apt and all related packages, even dpkg, and even downloaded the apt package directly from the ubuntu web site, but no matter what I do, I can't run these things. Aptitude and apt-get seem to work fine.
View 7 Replies
View Related