Ubuntu Installation :: What Libraries I'm Missing For A Program To Run Right?
Jan 15, 2010
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've recently upgraded from 8.04 to 9.10 and in the process, I've lost access to gfortran. I'm using the gfortran that came with Karmic, but when I execute the make file I get this:
Code:
ld GetNextPerigee.o -o GetNextPerigee ld: warning: cannot find entry symbol _start; defaulting to 0000000008048094 GetNextPerigee.o: In function `MAIN__': GetNextPerigee.f90:(.text+0x26): undefined reference to `_gfortran_set_options' GetNextPerigee.f90:(.text+0x2b): undefined reference to `_gfortran_iargc'
Installing from sources was always complicated to me, but biggest problem is installing when some strange dependencies are "missing". Let's do it on example - I am sure it will benefit lots of users.I have a unmodified ubuntu 9.10 (Karmic) on 64 bir architecture. I download latest Grisbi sources from official web page.I didn't modify any paths to system variables...and it's usually problem with glib or gtk with all other sources I try to install.
1) Could someone help me in this particular case with missing dependencies please? 2) What every User should do when trying to install from source and some libraries are missing?How to find them? How to install them ?
Fascinatingly weird one here. First, this issue isn't on my computer, it's from someone who I am helping. I don't have first-hand access to the computer. Some background: the machine originally had Ubuntu Hardy, which we upgraded to Lucid a couple of weeks ago. Earlier this week, he gave me a call that Ubuntu wasn't booting up; it dropped to the command line. Some tinkering later, I figured out that libgthread-2.0.so had become corrupted, so X wasn't starting. It gave an error complaining that it had an invalid ELF header.I figured that this was just an odd freak occurrence; there was a bad kernel panic previously, so maybe the library was upgraded and the system was just writing to the disk at that time. Fixed via sudo aptitude reinstall libglib.
Ubuntu then started and everything ran perfectly. Today, he gave me a call. After he had restarted the computer, Ubuntu again dropped to terminal at the same point while booting. I had him open a new tty and run startx, which failed with a different shared library but the same error: libXext.so.6 has an invalid ELF header!
We had run updates, but I don't recall whether X's shared libraries were touched. Even if they were, though, that shouldn't affect anything. There were no hard resets between my fixing libgthread and libXext breaking. I'm going to try a clean install; I'm really just hoping we can figure out why this is, because it's an amazing little problem.
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'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 am trying to run algodoo from terminal after I install it, but it doesn't run. It gives this error. I have been having troubles with permissions in the /usr folder recently, so I think that is what might have caused this. Please read through it thoroughly, as algodoo is actually located in the /opt folder.
Code: jon-Tuxbox:~$ sudo '/opt/Algodoo/algodoo/algodoo' There are missing dependencies. Please make sure that all the required libraries are installed. Missing: libcxcore.so.2.1 => not found libcv.so.2.1 => not found libhighgui.so.2.1 => not found jon-Tuxbox:~$
I am running Yellow Dog Linux release 6.2(Pyxis) on my PS3. I would like to compile and run C programs that utilize OpenMP for parallel programming. Unfortunately, I have not been very successful. I am able to compile programs containing OpenMP statements error free, but when I attempt to execute the binaries I receive the following error: Code: ./file: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory Compiling programs without OpenMP statements works fine.
Because it has to do something with missing libraries, I am not sure if knowing the executable search paths may help in diagnosis, but when echoing the path environment variable:
[Code]...
The version of GCC on this machine, 4.1.2 20080704 (Red Hat 4.1.2-44), is identical to the ones I have on two other machines (CentOS release 5.3 (Final) and CentOS release 5.4 (Final)) and they both compile and execute OpenMP code flawlessly. I have tried building and installing another version of GCC that would possibly include the OpenMP libraries, since, according to some sources, GCC has only supported OpenMP since version 4.2. But I have not been successful with that either (that problem would make a good second thread.)
Trying to build git gimp raises an error about missing libcairo.la and libfreetype.la /usr/lib/ does not have those files though the build manifest shows they should be included. Both cairo-devel and freetype2-devel have been installed, rpm query produces; cairo-devel-1.10.2-6.11.1.i586 and freetype2-devel-2.4.4-6.1.i586 This is my first attempt at using SUSE, so it maybe I am missing something elementary
i a newbie at linux and i installed Fedora 14 with minimum services and software in order to install Dynamips/Dynagen (Cisco router emulator).when i try to install Cisco rpm -ivh dynamips-0.2.8RC2-1.i386.rpm file i get the following:
error: Failed dependencies: libc.so.6 is needed by dynamips-0.2.8RC2-1.i386 libc.so.6(GLIBC_2.0) is needed by dynamips-0.2.8RC2-1.i386
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 having trouble installing software from the source files. From what I can gather the problem lies with not having the correct c libraries installed. My understanding is you use the ./configure, make, and make install commands in a terminal to install. And that the configure command checks to see if you have everything to install. this is the output when I try to configure:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p
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?
My recent borked upgrade to -current inspired me to try to come up with a way to sanity-check the lib and bin dirs for broken library symlinks (possibly indicating missing libs) and for binaries and libraries that belong to no installed package, as well as missing dependencies.
This script is the result.
I've checked the script results manually, and it appears to be accurate, so I figured I'd post it here for a second opinion, and/or because others may find it useful too. I'm not aware of another popular method of doing this on Slackware, so here it is:
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!
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.
I try to install one program called "iprint" but it tell me that I missed on package named "cup-libs-32bit" and after I search for that file, I found out it 's not fedora package but it is opensuse package. I wonder what the package is the same package with cup-libs-32bit for fedora. this is how it show after I try to install
[ESPADA@localhost iprint]$ rpm -Uvh novell-iprint-xclient.x86_64.rpm error: Failed dependencies: cups-libs-32bit is needed by novell-iprint-xclient-sl-6.500.20081007-1.x86_64
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?
does anyone else have this error?im on an Alienware m9750in order for me to install ubuntu, i had to change the boot options with thenouvea.modeset=0and i was able to boot to ubuntu 11.04 and then install it from there, and i installed my correct drivers for the video
i accidently got rid of the panel on top, so i deleted the bottom one, and started a new one on the bottom. now whenever i open a program, there used to be a "list" of all the open program/windows on the bottom, now that is goneso once i minimize a program, the only way for me to get back to it is to press alt+tab.
I have an asus pc, and its network hardware is not recognized by debian, the drivers are not even in the list provided during the installation process. I managed to download them from another pc, but if i try to make them and install them, i'm stucked because Make is not installed on debian (nor is sudo).So i need a connection to install the drivers that provide me a co0nnections..
I want to set up ubuntu 10.10 on a computer WITHOUT Internet access.I also need to install a package on it but it has several dependant libraries (eg libX11-dev)If i just have the names of those libraries & the package, where can i find them, so that they can be downloaded onto a pendrive & then installed onto the comp? (What would a library file look like after download?)
Also after i have copied the files onto the other comp (assuming that it was possible), how do i install the library? Would synaptics recognise that i have installed this library if done manually by this method?
i am trying to install: kiso-0.8.3 but when I try ./configure I recive this error >>>>>>>>>>
configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log