LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-30-2007, 05:08 AM   #1
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Rep: Reputation: 15
Post How to see (dynamically) imported libraries?


Hi,


I have a ".a" file (more specifically a libcurl.a file) on my system.
But I want to know what files are needed to run this library (like idn, gssapi, ...).

What command can I use to check which libraries are dynamically imported? (statically doesn't matter because they are imported into the executable if I'm correct).


Thanks,
Steven
 
Old 04-30-2007, 05:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
something like this you mean...?

Code:
[root@server ~]# ldd /bin/sh
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x00995000)
        libdl.so.2 => /lib/libdl.so.2 (0x007dd000)
        libc.so.6 => /lib/tls/libc.so.6 (0x006b2000)
        /lib/ld-linux.so.2 (0x00699000)
 
Old 04-30-2007, 05:27 AM   #3
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Original Poster
Rep: Reputation: 15
Yep, something alike, but then for static libraries...

steven@sqlbe:~/curl/curl-7.16.2/lib/.libs$ ldd libcurl.a
not a dynamic executable

Thanks already
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xine problems with Digitally Imported ceros Linux - Software 1 06-29-2006 02:19 PM
Dynamically linked libraries.. vishalbutte Programming 6 04-17-2006 08:54 PM
M4a Files , CD's imported through iTunes eric123 Ubuntu 1 12-17-2005 02:24 PM
FC2 gpg rpm imported but apparently not correct spectrumver1 Fedora 0 03-22-2004 04:31 AM
OpenOffice don't read all my imported font Darksky77 Linux - Software 1 01-07-2004 08:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration