Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1056583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:44:05+00:00 2026-05-16T17:44:05+00:00

What is the command line to see the contents of a Shared Object module

  • 0

What is the command line to see the contents of a Shared Object module (lib*.so)?

Like how we use:

ar -t lib*.a

for archives(lib*.a) and it displays all the object files in the library.

EDIT1

Example

ar -t lib*.a

gives me a display:

asset.o

sldep.o

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:44:06+00:00Added an answer on May 16, 2026 at 5:44 pm

    use nm -D --defined-only libname.so to get the symbol names from your dynamic library.
    The --defined-only switch shows you only the symbol that are defined in these files, and not references to external functions.

    An alternative is to use objdump, and catch only the symbols in the text section :

    objdump -T /usr/lib/libjpeg.so | grep text
    ...
    0001b5c0 g    DF .text  00000016  Base        jdiv_round_up
    00003730 g    DF .text  00000417  Base        jpeg_set_colorspace
    0000cda0 g    DF .text  000002de  Base        jpeg_consume_input
    00002b30 g    DF .text  00000023  Base        jpeg_abort_compress
    00003b50 g    DF .text  000000b6  Base        jpeg_default_colorspace
    00002810 g    DF .text  00000067  Base        jpeg_suppress_tables
    00004110 g    DF .text  00000130  Base        jpeg_add_quant_table
    000100c0 g    DF .text  0000011f  Base        jpeg_save_markers
    ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the command line compiler for builds. One problem I see is that
So I'm looking here and I see the command line switches. http://mono-project.com/Command_Line_MoMA This is
The (command line) interface I have in mind is like so: watching FILE+ do
What command line util can i use to create a thumbnail preview of a
I have a Git repository and I'd like to see how some files looked
I want to try to use a command line script with my python application.
I have a module called spellnum . It can be used as a command-line
Via command line, I usually do this: cp -rRp /path/to/a\_folder/. /path/to/another\_folder This copies just
What command line should I write to display the memory used by process as
The command line has eluded me for years. I started in 1999 so I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.