In computing, a dynamic linking is the process of an operating system (OS) that loads (copies from persistent storage to RAM) and links (fills jump tables and relocates pointers) the shared libraries needed by an executable at run time, that is, when it is executed.

learn more… | top users | synonyms (1)

4
votes
1answer
483 views

Can I use a chroot on my dev machine to build an application to run on embedded linux installation?

I am trying to develop an application to run on an embedded linux installation. It comes with an older version of libc than I have on my development maching. If I were to create a chroot environment ...
2
votes
2answers
505 views

Is it safe to just copy shared libraries onto embedded Linux device?

The following is contained in the vendor user manual for its embedded Linux distro on the hardward board they supply Developers can put their program onto X-Linux device via FTP or NFS. Before ...
5
votes
2answers
7k views

error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

anisha@linux-y3pi:~/> google-earth ./googleearth-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory anisha@linux-y3pi:~/> locate ...
0
votes
1answer
113 views

Can two application share library loaded at runtime?

I have 2 application lets say A1 ,A2 shared one shared object(lets say lib1) which loaded in application at runtime. A1 load lib1 using dlopen successfully. Now A2 wants to load library. Can A2?(as ...
0
votes
3answers
229 views

Is there a faster alternative to pkg-config?

Our build system uses pkg-config to build the software, but the linking can take very long (sometimes up to 20 minutes). We identified pkg-config as the guilty tool. So, is there a faster alternative ...
1
vote
1answer
373 views

Dynamic linker “no version information available”

When I copy over a program and a few libraries it needs to another machine I get the "no version information available" when I run LDD on the program. I know why this is happening, I just want to ...
5
votes
4answers
1k views

Error while loading shared libraries

My project tree looks something like that: src/ include/ Makefile lib/ lib/3rdparylib/ I didn't code 3rdpartylib, but decided to embed its source code in my project packaging. I compile the ...
3
votes
2answers
2k views

Why does LD keep outputting “no version information available”

On every loading of a lib, I get the error: no version information available This lib has been compiled on another PC (ubuntu 10.04) than the one running it (mandriva 2010.2). $ ldd ...
2
votes
2answers
20k views

Error Loading Shared Libraries when Installing Redhat Directory Server

While Installing the Red Hat Directory Server on the Red Hat Linux Server 5 (x86_64)i am getting the following error bin/slapd/server/dsktune: error while loading shared libraries: libstdc++.so.5: ...
0
votes
1answer
293 views

Is it possible to preload glibc?

One of my client runs a glibc-2.7 based system , and my static linked program wasn't able to start on the target machine, raising an error: ...
4
votes
2answers
913 views

libssl and libcrypto backward compatible?

I have an old server application that requires libssl.so.0.9.6 and libcrypto.so.0.9.6. My issue is I currently have libssl.so.1.0.0a and libcrypto.so.1.0.0a on my system. I tried symlinking to the ...
1
vote
0answers
207 views

What are dyld_shared_cache_xxx files and how do I extract object files from them?

I have a dyld_shared_cache_armv7 file and I'm assuming that they hold various object files for a specific architecture. How do I extract the object files from it?
1
vote
0answers
236 views

Dependencies between shared libraries in the same Debian packages

Suppose I want to create a package with multiple shared libraries - call it libfoo, which contains liba.so.1 and libb.so.1. Now, say liba.so.1 uses a symbol from libb.so.1. If I compile like this, ...
3
votes
3answers
5k views

Where do executables look for shared objects at runtime

The title is pretty explicit. I understand how to define include shared objects at linking/compile time. However I still wonder how do executables look for the shared object (*.so libraries) at ...
4
votes
3answers
308 views

“which” equivalent for shared libraries

I am looking for a utility that would behave in the same way as which, but to look up shared libraries (*.so) in the directories defined in $LD_LIBRARY_PATH?
2
votes
2answers
1k views

Postfix cannot find a MySQL shared library

I am trying to install Postfix with MySQL support. When I start or run the postfix daemon, it complains that it "cannot find libmysqlclient.so.18", which is in the directory /usr/local/mysql/lib, ...
2
votes
1answer
1k views

Using debuild to build shared libraries .deb

I'm trying to package a shared library using debuild to build the .deb file. In runnign dh_make the library option was selected. Have been following this guide Having managed to build the library, i'm ...
2
votes
1answer
397 views

How does prelink work

I was wondering how prelinking works. If I prelink my whole system and than delete glibc, will the system 'get up' after restart?
2
votes
2answers
5k views

How does rpm resolve library dependencies?

I try to make a package of a program which is linked to such library (output from ldd): libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 Pretty straightforward, ...
1
vote
2answers
622 views

Is there any useful metadata inside shared objects, and if so, how do I extract it?

I have a file called mod_dav_svn.so. I would like to find out if this is a custom version of the file or a standard one. I have tried searching Google for the md5sum of the file, but nothing has ...
2
votes
1answer
539 views

Cannot open shared object file when using D compiler

I had ldc2 and gdc compiled from source and working up until a month ago. Nothing has changed, except I can't remember the variable(s) I would set in the terminal to get ldc2 and gdc to work. I get ...
6
votes
1answer
2k views

Linux, GNU GCC, ld, version scripts and the ELF binary format — How does it work?

I'm trying to learn more about library versioning in Linux and how to put it all to work. Here's the context: -- I have two versions of a dynamic library which expose the same set of interfaces, say ...
2
votes
2answers
2k views

How to use STL in unix and linux?

How to use STL(standard template library) in HP-Unix . How to compile and run the program with STL functions?
1
vote
1answer
573 views

How to build-compile a .c file

I have little experience with LINUX . I am using Debian. It has a library glibc which has several useful programs. iconv is the program that i want to use to do several charset conversions... However ...
3
votes
2answers
1k views

Is it possible to execute code in heap space?

I would like to know if i can execute a code piece sitting inside the heap space?
5
votes
2answers
4k views

Get a list of the functions in a shared library?

How can I get a list of the functions defined in a shared object library, or find out if a particular function is defined in one?