Ubuntu :: Program Find The 32-bit Libraries On A 64-bit System?
May 19, 2010
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 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?
I moved a program from one machine to a different one. When I run it on the new one I get errors. How do I tell what libraries it's missing and then find them?
I'm using the FortiClient SSL VPN free version provided by my University. I can't get tech support from the university OR Fortigate. I have it running on one system, but I have no idea what the sequence of libraries I installed was. I need it to run on a second machine. pstree is only telling me that the FortiClient ssl daemon depends on pppd. I need to know how to find out what else it's using: LibPKCS and the like.
I'm using debian and, though i'm new to c++, i'm writing a program using it which needs some HTTPs functionalities . I found these libcurl libraries could help me but I haven been able to use them from my program. I installed them (power trio configure -make -make install ) but i guess i'm doing something wrong ... i feel like i should copy or link them somehow in my project (besides the include sentences in my code). I hope you could give me a hand with this im quite lost
I'm compiling a project that uses boost libraries (1.45.0) for a MIPS target, and when trying to compile with bjam I get the following error:
Code: libboost_system-mt.a(error_code.o): In function `(anonymous namespace)::generic_error_category::message(int) const': error_code.cpp:(.text+0x55c): undefined reference to `__glibc_strerror_r' collect2: ld returned 1 exit status
I have a third party static library (libSTATIC.a) that I cannot recompile into a shared library. I want to create a shared library (libSHARED.so) that uses the C functions in the static library. Is it possible to do this? In other words, when linking a C program with gcc by using the -shared flag, is it necessary that all all libraries invoked in the program (even low level libraries such as libc for example) be available as shared libraries as well?
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 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.
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
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.
Is it possible to list/find/compare the program versions on a Centos system, against Redhat/Centos Errata/Security/Bug lists? Sort of looking for a way to make sure that all the packages on a system are ok, and not a security risk-- Without having to update every package. A pseudo code, in my mind is:
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).
I installed ARB in my pc...while running arb below error is occur... - arb_ntree: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory ARB done
This type error also occur while running phylip programs - drawtree: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory
I dont know that my system contains this library or not...how I find that? My system is Fedora....
I'm using Ubuntu 9.10 with kernel 2.6.31 and gcc 4.4.1. I began getting the following errors from gcc after installing bison, g++ and g++-multilib and also after compiling 2.6.34-rc3 as a test. I've tried removing the packages but the error still shows up.
In a research environment how can I ensure that all RPMs / packages that appear on one system will exist on another? I.e. when using rpm -qa all libraries on one system will be there on another. The reason for this is to ensure they are as close as possible. Is there an easy way to do this without dealing with a larger management suite tool?
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 ?
I'm trying to compile libetpan-0.57 on RedHat Enterprise Linux 5.2 64-bit and it is refusing to link against the 64 bit system libraries. I've tried everything I can think of. I've tried to hack libtool, run the command make was trying to run manually and changing the library search paths but nothing works. When I run the command make tried to run manually and change -L/usr/lib to -L/usr/lib64 most of the "skipping incompatible" library messages disappear except for "/usr/lib/libexpat.so: could not read symbols: File in wrong format." Below is the output when I run make code...
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!
I installed the minimal-command line system from the kubuntu CD on my laptop, which is guess is roughly around 200mb after installation. I wish to install a Desktop Environment preferably KDE and I wanted to know how and where do I begin from? Do I need to have a working XORG prior to installation of KDE and do I also need to install Window mangers and e.t.c? What all packages/libraries and components do I need to install first? I'm really not sure where should I begin from.
Initially what I am trying to do is to have working GUI system,then later on I can install rest of the packages and software that I need, like office, GPU drivers, browser etc. Secondly,for a minimal KDE system,what metapackages are to be installed from this site? I believe kdebase, kdebase-runtime, kdebase-workspace are required. [URL]
I've a source code of a program and I know that to compile and install that program I've to do: ./configure --prefix=/opt/test make make install
Now I want the program to look for dependent libraries and header files first in a non system folder. Now how can i instruct "configure" and "make" script to look for dependencies first in a different folder without editing configure and Makefile. And after these folders are searched for dependencies by the script it can look in system folder. Is there any environment variable that i can supply to "configure" and "make"? Will that work without any conflict? what are these environment variables? And also if I use these environment variables do I need to edit the source code files?
I mean do I need to change these lines Code: #include <test1.h> ... to Code: #include "test1.h" ...
If yes then is there any other way to compile them without modifying the source code?
Just i want one clarification regarding building libraries. I have a "c" program. i want to compile that program for ARM processor and i want to build ".a and .so" libraries for that c program.
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?
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?