A library is a collection of functionality that programs can use. They can be dynamically loaded by a program, or they may be compiled into the program.
1
vote
0answers
34 views
lsusb outputs “Illegal Instruction” - why?
I'm trying to get a 3G USB dongle to work on a Raspberry Pi running Raspbian Wheezy, using a script called sakis3g.
However, in trying to do this, I keep running into problems: when trying to connect ...
0
votes
1answer
35 views
How to manually install a cpp library
I want to install the opengl sdk http://glsdk.sourceforge.net/docs/html/pg_build.html . I successfully built it but it has no install script.
I am wondering where I have to put them in order for ...
4
votes
3answers
99 views
ldd tells me my app is “not a dynamic executable”
I have a 32-bit application (called uclsyn) I received from an astronomy professor. I managed to get it running on CentOS a year ago, but now when I am setting up a new CentOS VM, it won't run and I ...
2
votes
1answer
57 views
Difference between lib, lib32, lib64, libx32, and libexec
My 64 bit Ubuntu 13.04 system has the following directories in /:
lib
lib32
lib64
libx32
libexec
In the /usr directory there is:
lib
lib32
libx32
libexec
This seemed like something that could be ...
1
vote
1answer
36 views
Need general guide on how to build Linux Stream (LiS) under RedHat 6.2
Day 1
I have hit into some error, and the build simply fail, saying that there is some conflict. Thus I believe a .o file cannot be made and then result fatal error during linking, anyone have steps ...
0
votes
0answers
27 views
Installing required libs/frameworks/packages for compilation on OSX
I'm trying to compile SmartSim for OSX Lion, and at the moment I'm at the ./configure stage.
Here is a dump of what I've managed to get so far:
$ ./configure
checking for a BSD-compatible install... ...
3
votes
2answers
56 views
How do I know which library and man page will be found first?
With binaries, I can always do which foo to know which binary I am invoking with $ foo, but what about man pages? Is there a way to know the path of the man page will be loaded by default?
Similarly, ...
2
votes
1answer
39 views
Invoking a script with ld-linux.so?
I just downloaded a tar file that is supposed to include everything required to run a program that we can call some_binary. I extracted it's contents, and I see the following:
A binary (let's call ...
3
votes
1answer
50 views
How do I get rid of unnecessary mp3 tags in my music library?
I have a massive bunch of music. Some of the tracks have unnecessary MP3 flags. How can I get rid of them?
4
votes
1answer
70 views
Will GNOME and GTK libs bloat up my KDE?
I want to use Shutter. I installed it previously under Kubuntu and it needed a lot of libs.
What bothered me most was that Kubuntu wanted me to restart, that is rare for OS's nowadays and in general ...
1
vote
1answer
37 views
Effect if any of changing LD_LIBRARY_PATH environnment variable on emacs fonts?
The rendering of my emacs fonts changes if I define a specific list of directories under the LD_LIBRARY_PATH environment variable just before I call emacs. I changed this because I wanted to use emacs ...
0
votes
0answers
94 views
libGL.so.1: wrong ELF class: ELFCLASS32
I have archlinux on my x86_64 laptop with NVIDIA GeForce 8400M GT graphics. I can start x, but when I try to run programs like xfce4-terminal I get:
xfce4-terminal: error while loading shared ...
-1
votes
2answers
43 views
About ncurses header file [closed]
I' running Fedora 15 (32-bit). But I can`t compile and run an ncurses program. Also, colours are not working in the terminal. What can I do to fix this?
0
votes
0answers
57 views
Setting Up Cross Compiler, Linux x86_64 to Solaris 10 SPARC
I have a student account for a Solaris 10 SPARC server at the university I go to, and I thought it would be interesting to set up a cross-compiling GCC on my home Linux x86_64 computer so that I could ...
3
votes
2answers
47 views
/etc/ld.so.conf doesn't contain /usr/lib
I am using pkg-config to help supply the correct libs during c++ compilation. As I understand it, it searches in directories supplied by /etc/ld.so.conf. My ld.so.conf references the following lib ...
0
votes
2answers
57 views
Is there a convention for adding .pc files for pkg-config?
I installed a library via apt but it added no .pc file to the pkg-config dir. When I built another manually it got added. Is there a convention for libs automatically creating a .pc file and if so ...
2
votes
0answers
57 views
Using symbolic links and git to manage build versions
In general I follow the following workflow when I build any program (e.g. emacs, tmux, etc.)
/home/opt/[name of the program]/builds/[version]/
bin
lib
share
For example for a program like tmux I ...
1
vote
2answers
118 views
Use shared libraries in /usr/local/lib
I have build some libraries from sources, and the files after make install are in /usr/local/lib
For example, in my case I have the file libodb-2.2.so which is in this directory.
However when I ...
1
vote
0answers
68 views
mod_rewrite: undefined symbol: lstat error
I compiled the mod rewrite for apache (version 1.3.0) however, when I try to run the server I have this error about mod_rewrite:
Syntax error on line 27 of /home/myuser/apache/etc/httpd.conf:
Cannot ...
6
votes
1answer
104 views
How does gcc know where boost is installed
I installed boost using sudo apt-get install on Ubuntu. Later I did not have to give gcc the I flag alongwith the path to the boost libraries to use boost ! Nor did I do any pkg-config --cflags --libs ...
1
vote
1answer
182 views
No version information available?
How can I fix this problem? What is libzypp.so.1106 and and libaugeas.so.0? Why is this error repeated so many times in libzypp.so.1106?
zypper: /usr/local/lib64/libxml2.so.2: no version information ...
1
vote
1answer
481 views
libpng warning: Incompatible libpng version in application and library
libpng warning: Application was compiled with png.h from libpng-1.2.39
libpng warning: Application is running with png.c from libpng-1.4.0
libpng warning: Incompatible libpng version in application ...
1
vote
3answers
100 views
Cannot find lib in path
I am trying to start a program that relies on some libraries that are in my path, however, the program says it cannot find the files:
11:45:27 ~ > echo $PATH
...
0
votes
0answers
74 views
Failure to install MySQL
I attempted to install MySQL using Synaptic but it failed to start on update with the following output:
Selecting previously unselected package mysql-client.
(Reading database ... 131143 files and ...
3
votes
4answers
956 views
Install development files locally to build on system without root access?
There is a server that I do work on, running an older version of Linux. I don't have root access to the system, so I wanted to build a more recent version of a tool that I use a lot (Vim 7.3). I ...
1
vote
1answer
68 views
Introspection of the interface of a shared library
I have a problem with a library I'm working with for the first time ( it's Boost.Python but my question is much more general than this case).
As a consequence I need to check what is the interface of ...
1
vote
1answer
424 views
Using Atlas from scipy
I installed Ubuntu 12.04 64 bit. I need to work with python and scipy, I installed them and when I run the test:
python -c "import scipy; scipy.test()"
I get the message:
ImportError: ...
1
vote
1answer
1k views
Missing 32 bit library on a 64 bit Linux install
I am trying to figure out why Eclipse is complaining about being unable to find a library. I've managed to reproduce/reduce the java problem to:
$ ldd ...
1
vote
1answer
57 views
Which library are LO headers belonging to?
I'm trying to configure liquidsoap and compile it from source. The ./configure process gets stuck at this point:
checking lo/lo.h usability... no
checking lo/lo.h presence... no
checking for ...
2
votes
0answers
486 views
32 bit appplication on 64 bit linux not working
I'm running linux mint LMDE 64 bit version, I have to install this i386 software to use my modem.
So I did it with --force-architecture mode, installation completed with errors.
Here is the log
dpkg: ...
1
vote
0answers
114 views
Python bindings for libtorrent-rasterbar are not working on debian
I'm running Debian 6.0.6
I've downloaded latest version of libtorrent-rasterbar from here: http://code.google.com/p/libtorrent/downloads/detail?name=libtorrent-rasterbar-0.16.6.tar.gz&can=2 and ...
3
votes
2answers
211 views
Viewing Linux Library / Executable version info
In Windows, EXE and DLL have version info, including at least the following fields:
file version
product version
internal name
product name
copyright
In Linux Library / Executable:
Which fields ...
4
votes
2answers
546 views
Difference between system calls and library functions
I have been through the answer of this question but do not quite understand the difference between system calls and library functions. Conceptually, what is the difference between the two?
7
votes
1answer
163 views
ELF shared libraries - motivation for the PLT
Could self-modifying code be used to speed up function calling in dynamically linked libraries?
As far as I understand it, ELF shared libraries use a kind of indirect jump table (the procedure ...
2
votes
1answer
89 views
Installing shared library - questions and problems
I'm having trouble "installing" a shared library I download online. The library name is run time access (http://www.runtimeaccess.com/). In the quick start guide, they explain how to use the library ...
1
vote
2answers
280 views
ffmpeg and libvpx: error while loading shared libraries
When I run ffmpeg I get the following error:
/usr/local/bin/ffmpeg: error while loading shared libraries: libvpx.so.1: cannot open shared object file: No such file or directory
Output of ls -l ...
1
vote
0answers
293 views
ntp cannot open shared object file: Permission denied
On a server I haven't worked on, ntpd is broken:
# /etc/init.d/ntpd start
ntpd: error while loading shared libraries:
libz.so.1: cannot open shared object file: Permission denied
but permissions ...
1
vote
1answer
126 views
Installation of MPFR previous versions of GMP clash
So it's a common error when installing MPFR that if more than one version of libgmp are installed you hit errors. This is quite well documented in the INSTALL file,
If I run locate libgmp the result ...
0
votes
1answer
47 views
Library Migration
I have one pre-compiled shared library, which require GLIBC-2.9 But I want to use it against GLIBC-2.8.
I am very much sure, source code have not used any function which was introduces in 2.9
Since ...
-2
votes
2answers
227 views
Download and Install 32-bit Haskell GHC on CentOS
I need to install Haskell GHC 32 bit from the command line and I can't find this anywhere.
I need to install it because I need libgmp.so.3 for the 32-bit and i have read somewhere that I can find it ...
2
votes
1answer
58 views
Build Gimp from custom-path libraries
I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp
./configure && make && make ...
23
votes
2answers
1k views
Why are shared libraries executable?
Why have almost all the shared libraries in /usr/lib/ have the executable permission bit set? I don't see any use case for executing them. Some do manage to hook-up some form of main function to print ...
3
votes
2answers
337 views
Package installation and dependancies - how to prevent installation of existing libraries?
I'm a relatively new Ubuntu server user, so I'm learning as I go. I have an issue with a software package I'm installing (QGIS) which has several dependancies one of them being gdal library. ...
1
vote
2answers
150 views
Accidentally removed dev-libs/mpc from Gentoo
It seems I accidentally removed dev-libs/mpc instead of media-sound/mpc. Now I can't compile anything (including a replacement dev-libs/mpc) because in doing so I apparently murdered GCC.
How does ...
1
vote
0answers
79 views
strange noise in some gui programs
I have Debian testing, I use XFCE. Recently, shortly after dist-upgrade, I noticed that XFCE terminal has some noise in it - especially near the end of long lines or when I use midnight commander. The ...
1
vote
2answers
153 views
How to install DivFix++ under Scientific-linux 6.1?
I installed DivFix++ from
http://sourceforge.net/projects/divfixpp/files/DivFix%2B%2B/v0.34/
DivFix++-0.34-2.1.x86_64.rpm
$ env LC_MESSAGES=C DivFix++
Fatal Error: Mismatch between the program and ...
2
votes
2answers
2k views
How to export LD_LIBRARY_PATH to all users and system services
I want to export LD_LIBRARY_PATH to system services and all users.
System services are run before login, so .bashrc is not applicable.
How to achieve this?
2
votes
1answer
423 views
Installing flash player for firefox
I would like to install flash player for Firefox on Linux.
I downloaded the .tar.gz, and there are some compiled shared libraries. I am not sure how to make them work, and I am looking for a hint.
...
2
votes
2answers
651 views
Does Solaris have an equivalent to /etc/ld.so.conf?
I compiled a package for Solaris 11 Express that has some library dependencies, which I also compiled from source and installed in the usual /usr/local. (And Solaris doesn't even have /usr/local ...
4
votes
2answers
229 views
Compiling old solaris programs under Linux
I've got sources for a program developed under Solaris in ANSI-C. I am told it was developed around 1996-1997. I'm currently struggling with compiling it under a current Ubuntu. I got pretty far and I ...

