Does dlopen-ing a shared object need a file descriptor?
This answer was provided by Basile Starynkevitch not permanently (after the dlopen succeed). But internally, dlopen needs to open the shared object (but closes it after having mmap-ed it). • What are vdso and linux-gate.so? It is a virtual dynamically-linked shared object, which implements the gate used to perform system calls. Depending on the architecture and kernel version there are different ways to do it. The kernel provides a page with a version suitable for the actual setup, which can then be used by all processes. On this page you can read more about linux-gate.so • What is a misc device? There are two types of device special files representing the two different types of devices: block devices and character devices. A device identifier is split into two numbers, the major and the minor number. The major number is in the range 1-255 and the minor number is in the range 0-255. This allows for a total of 130560 devices 65280 of each type. Though the number of identifiers may seem
Related Questions
- Why do I get the error message "ERROR while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory" when I try to start Gridgen on my OpenSuse machine?
- When running some applications there are errors similar to "libXm.so.2: cannot open shared object file: No such file or directory". Whats wrong?
- Does dlopen-ing a shared object need a file descriptor?