answersLogoWhite

0


Best Answer

That would be ldd. You type 'lss /path/to/program' to see the list of shared libraries.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which program is used to determine which shared libraries are used by a particular other program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why static library are attached to w program via the linker while shared libraries are attached by the loader?

Because static libraries are, well, STATIC. They are LINKed STATICally to the program by the LINKer. Shared libraries are SHARED. They are linked by the LOADer when LOADed to SHARED libraries in system memory.


What are the differentiate between dynamic linking and dynamic loading?

Dynamic linking defers of the linking process until a program running or sometimes. It provides a variety of benefits that are hard to get otherwise- a. Dynamically linked shared libraries are easier to create that statically linked shared libraries. b. Dynamically linked shared libraries are easir to update than statically linked shared libraries.


What is the difference between dynamic link library and shared library?

Static libraries are compiled into the program itself, shared libraries are compiled separately and referenced by the program. This enables the program to be much smaller, but requires the shared libraries be available to run.


Is it possible to make a program that combines a lot of other programs?

Yes. One program can execute another program very easily -- you can even do it via scripting languages and batch programming. Morevoer, programs that provide shared code via one or more libraries make it possible for another program to execute code within those libraries, just as if that code were part of the program itself (no need to execute another program). Such programs often provide application programming interfaces (APIs) to simplify the process of integration.


Why does Linux NOT install all program files of a software under the same folder but instead spread to many other folders making dependency management necessary?

Dependency has nothing to do with where the files are located. Most programs in Linux share libraries, and place the libraries under a separate directory for organizational purposes. Sure, you could place a copy of the library under each program's directory, but this wastes space and defeats the purpose of shared libraries in the first place. ALL operating systems that use shared libraries, including Windows and Mac OS X, require dependency tracking for proper operation. The only way this could be eliminated is if we all went back to static binaries instead.


What is the difference between dynamic and static linking?

Dynamic linking occurs at runtime where the necessary libraries are linked to the executable by the operating system. This results in smaller executable files and allows for easier updates to shared libraries. Static linking, on the other hand, occurs at compile time where the related libraries are copied into the executable, resulting in larger files but with no dependency on external libraries.


Compare and contrast static and dynamic linking?

Static linking involves linking libraries during compile time, resulting in a standalone executable file that includes all necessary libraries. Dynamic linking occurs at run time, where executable files use shared libraries stored separately on the system. Static linking produces larger executable files, while dynamic linking allows for easier updates and maintenance of shared libraries.


Derived characters are used to construct a cladogram?

Derived characters are specific traits that are unique to a particular group of organisms being studied in a cladogram. They are used to determine evolutionary relationships by identifying shared characteristics that have evolved in a common ancestor and are specific to a particular group. These characters help to organize taxa into groups based on shared evolutionary history.


What is cooperative cataloguing?

Cooperative cataloguing is a collaborative process where libraries share cataloguing resources, expertise, and records to create a shared catalogue or database. It allows libraries to pool their resources and reduce duplication of efforts in creating bibliographic records for shared materials. This can improve access to information for library users and streamline cataloguing processes for participating institutions.


What is the UNIX command for making a new library from object files?

The 'ld' (loader/binder) command creates executable files and also shared libraries in Unix. Although a user could call it explicitly it is easier to use the compiler commands and let them determine what the exact options are in order to create a shared library. A library could also be a static, archive library, which is created with the 'ar' command.


What is union in c program?

It's a fragment of memory shared by multiple variables.


What is shared device?

A shared device is a computing or electronic device that is used by multiple individuals. These devices are typically found in public spaces, offices, or households where multiple people need access to the same technology. Examples include shared computers in libraries, tablets in schools, or smart TVs in common areas.