General :: Libraries - App Doesn't Find A .so File?
Aug 4, 2010
I have just downloaded, configure'd, make'd and make install'ed the Google Log Library to my computer. It built all required files (as far as I can see) and copied the .so file (libglog.so.0.0.0) to /usr/local/lib. Then it created two symbolic links called "libglog.so.0" and "libglog.so" that point to that shared object file:
Now I'm trying to execute a program that uses the library, but when I start it, I get the error message that it can't open the so-file:
cloud:/home/blam/redirector/redirector2# ./redirector ./redirector: error while loading shared libraries: libglog.so.0: cannot open shared object file: No such file or directory
/usr/local/lib is included in my /etc/ld.so.conf file, and another library that's located in this directory is loaded correctly.
In Ubuntu 10.04 I installed VMware workstation 7.1 to run a VM - everytime I need to run it though, Workstation doesn't find a file (VMmon) and I need to run in terminal this command: sudo /etc/init.d/vmware start
How can I add this in the boot file so it starts automatically and I do not have to run it manually -
Why many Linux distros are trying to use always the latest versions of the libraries and don't save the old libraries for compatibility? I mean, I can see libtiff for example, i can found a libtiff.so.5 on my /usr/lib, but doesn't store a libtiff.so.4 or 3 just for binary applications or games. For this example, I need libtiff.so.4 for uplink.
That should happen too on the old version of sims for linux, some ID games or others.What's wrong with storing old libraries? PD: Yay, my first post on 3 years!
Is there any way to use a dynamic libraries as a static libraries instead when compiling, so that my resulting executable won't have them as dependencies?
I am trying to create a package for Moblin using the Moblin Package creator application in Ubuntu. The RPM package gets created successfully, but when I execute that package in Moblin OS in the terminal I get the following error message: Error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file: No such file or directory.
I understand that the above libraries are missing on my system and I need to add them. My question here is do I have to add them manually after the installation of the package or can the package itself include these libraries and copy them to proper locations when the package is installed. In case the libraries can be included in the package I want to know how that can be done.
I am trying to compile some software written by a colleague in the lab that uses mpicc. When it is compiled on his account, it works fine, but fails on mine (on the same machine). When I type simply
>mpicc
I get the error
/usr/lib64/mpi/mpi-openmpi-intel/usr/bin/mpicc: error while loading shared libraries: libintlc.so.5: cannot open shared object file: No such file or directory
I am hesitant to mess around in .bashrc or .aliases before I have a little more information.
I've been trying for days now to build my first FastCGI application using gcc.
This is the output:
Code:
I believe I wouldn't have to refer to the lib path, but I added the -L flag to be sure.
The directory /usr/lib includes (among others) these files:
Code:
I have tried to follow these instructions. The files in the tar.gz archive provided by FastCGI.com no longer corresponds to the instructions there, but I was still able to run the ./configure and make commands so I believe FastCGI is installed.
But why can not the library be properly linked to? Really hope you can help me out on this one!
I accidentally deleted one of the libraries in /lib or /usr/lib and now when I boot into Debian, it won't load the GUI. I get an error message saying that something failed because the library needed did not exist (I couldn't read it because the text was scrolling by so fast, so I don't know exactly what it said). I need to find an archive or something of all the system libraries for Lenny so I can reinstall them. Is there a place online where I can download them?
As title says, running unetbootin throws this error [URL]...... I can easily find the files myself (go to synaptic > look at installed files > scroll down) and I can't remove/purge because they would require me to remove some important software (XFCE).
where can i find the qt libraries..?? building an rpm failed.
Code: checking for Qt libraries... no :-( configure: error:
I can't find the Qt libraries. It is recommended to set the QTDIR environment variable. Install the Qt libraries, or if you have them installed, override this check with the --with-qt-libraries argument, and I'll take your word for it. i got qt and qt-devel
A 32-bit program (Cisco AnyConnect VPN Client) appears to be trying to load a library from /usr/lib even though the 32-bit library is installed in /usr/lib32:
I ran 'sudo apt-get install python', which completed successfully. According to [URL] this should have created the directory /usr/lib/python2.6, but I do not see any such directory.This is causing problems:
$ python Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
[code]....
I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue.
am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
I tried to build firefox with PGO using Intel C Compiler (icc), but, configure gave this error message.
Code: configure: error: Could not find the following X libraries: -lX11 -lXext -lXt *** Fix above errors and then restart with "make -f client.mk build" When I tried it using gcc, there's no error msg. What can I do? My .mozconfig file is... Code: export CC=icc
I am trying to install some NVIDIA drivers on my machine. I went through the process and got this message:
Code: Select allWARNING: Unable to find a suitable destination to install 32-bit compatibility libraries. Your system may not be set up for 32-bit compatibility. 32-bit compatibility files will not be installed; if you wish to install them, re-run the installation and set a valid directory with the --compat32-libdir option. URL...Where in I ran this in the terminal to create the 32-bit document tree.
Code: Select allsudo apt-get install ia32-libs
E: Package 'ia32-libs' has no installation candidate.
I really just want to get these NVIDIA drivers up and running. I already installed and updated the headers to just be able to half-way install the drivers (the second monitor works now).
Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
I upgrade the system from 11.1 to 11.2 seems everything work fine, no error no warning, after a reboot the consol show : mount error while loading shared libraries: libvolume_id.so.1: Cannot open shared object file: No such file or directory. when I try to repair the system the repair tool cannot find the root partion,
I installed the latest Gimp beta and it worked fine but then I couldn't open it. I removed it and I reinstalled but it didn't work, so I installed the latest stable version (no beta) and it still does not work, when I open it form Terminal, this is the response:gimp: error while loading shared libraries: libbabl-0.0.so.0: cannot open shared object file: No such file or directory
I'm trying to install Sun Java Web Server 7 on OpenSuse 11.2 (32-bit edition). When I try to launch the setup, I get the following error message: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory I'm guessing that this means I need the rpm for libstdc++.so.5, but I haven't been able to find it.
trying to modify my ubuntu 2.6.27 root file system so that it can use a android kernel. I have built the android kernel myself and it boots up. Now for the RFS to work it needs the android libraries. Now I have the Android libraries-I extracted these from the Android 2.6.27- but how do I merge these with MY root file system
I am trying to compile a C++ source file into a static library using make with root privileges (i.e., using "sudo"). However, I "sometimes" get the following compilation error:
Code: g++ -Wall -g -fPIC -W -c /home/project/ether/src/packet-ethernet.cc ar -cvq libether.a /home/project/ether/src/packet-ethernet.o ar: /home/project/ether/src/packet-ethernet.o: No such file or directory make: *** [libether.a] Error 1
I checked /home/project/ether/src folder to see if packet-ethernet.o in fact does not exist, and saw that it is actually located there, but its owner is "root", which is different from the current user. If I change the owner of packet_ethernet.o from root to the current user using "chown" command and execute make again with sudo, everything seems to be fine.
It may be a coincidence that I recently migrated to 64-bit platform from 32-bit, and then installed libboost-filesystem1.40-dev. After that, I began to experience such errors. I have "never" come across such a compilation error before. Even though I completely removed libboost-filesystem1.40-dev afterwards to see if it causes the problem, nothing changed.
After migrating to 64-bit and installing libboost-filesystem1.40-dev, my application exhibited another "weird" behaviour such that it produced "hidden" files using mkdir() system call, which were previously created as regular ones on the filesystem. Can compiler options that I use cause such problems? Is it possible that libboost-filesystem1.40-dev overwrote some system libraries so that I am getting such errors ?
It has been working fine until today where I've been trying to get a application installed that I used on fedora12 ok called SecureCRT. It looks like it was not running because of a python lib. My system has libpython2.7.so and it wants 2.4. The developers for SecureCRT said they have not written it for F15 yet but will for next release but try install with nodeps and symlink 2.4 to 2.7. This did not work. I copied libpython2.4.so.1.0 and a link to libpython2.4.so from my old F12 box onto the new one and the app started working a treat but no I've noticed that yum no longer works and can only think its this. I have removed the the 2.4 files but still nothing. the error I get from yum is:
yum Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.4.6 (#1, Mar 23 2010, 12:56:48) [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] If you cannot solve this problem yourself, please go to the yum faq at: [URL] How do I fix this and is it possible to have both versions?
I have a problem with linux, I got the message "configure can not find x11 libraries" while I was installing xvista program on suse 10.3, Do you know what is the problem?
I have ubuntu 9.04 on my Virtual Machine and my host OS is Win.XP, I've installed SSH on my linux and and now, I use PuTTY on Win.XP to connect to the SSH on linux,
Now, I have a problem: When I login with "root" and run any command, I see load errors for libraries such below:
Code: vim:
I've defined a user in ubuntu and when I login with it, I have no problem in running commands!
Also, when I use "su" command in the user's session and go to the root, I have no problem again in running commands! Is it related to my linux version or distro?
I have been using Eclipse to program in Java for a long time, and have been using Jigloo for most of my GUI design. Recently I decided to try out the C/C++ plugin. I tried installing it, but it did not work. After many attempts, I finally gave up. However, after uninstalling it I found that Jigloo had stopped working. Any other plugins I try to install now also don't work. I have tried uninstalling and reinstalling plugins, and reinstalling eclipse, but nothing I have done fixes it. Although eclipse says that the software has been installed, nothing shows up in the features list or the plugins list.
Another problem: When I install eclipse from the repositories, it doesn't install a bunch of libraries and eclipse cannot recognize standard java files.
Now i have 64 bit computer i installed Slackware 23 64 bit on it. i followed Alien Bob's multi lib how to and installed needed libraries one by one. everything is fine expect wine configure script can not find some libraries needed: libgsm, libmpg123, libopenal, libxcomposite.
I have already installed 32 bit compatibility packages and used /etc/profile.d/32bit.sh as recommended in Alien Bob's howto. configure -- does not really list anything for pointing for libraries.
There is like one month since dig fails running after some upgrade. Platform: Ubuntu-Server 6.06.1 _Dapper Drake_ - Release amd64 Error: Code: dig: error while loading shared libraries: libdns.so.21: cannot open shared object file: No such file or directory.