Sponsored Content
Top Forums Programming where is the dymatic lib to find Post 302273521 by yanglei_fage on Monday 5th of January 2009 03:25:02 AM
Old 01-05-2009
where is the dymatic lib to find

hi all

lyang0@lyang0:~$ ldd /bin/ls
linux-gate.so.1 => (0xb7f1c000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f02000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7ee9000)
libacl.so.1 => /lib/libacl.so.1 (0xb7ee1000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d92000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7d7a000)
/lib/ld-linux.so.2 (0xb7f1d000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d76000)
libattr.so.1 => /lib/libattr.so.1 (0xb7d72000)

you can see libc.so.6 => /lib/tls/i686/cmov/libc.so.6,but how the linker know where to find it,I know the lib path can be find by using ld.so.conf, but /lib/tls/i386 is not in the ld.so.conf, please give me a light

thanks
 

10 More Discussions You Might Find Interesting

1. Programming

LIB question

a program on linux uses three libs: libutil.a libtermcap.a libpthread.a. If I want to transplant this program to Solaris, where can I get the three libs? Thanks. (2 Replies)
Discussion started by: hewlet
2 Replies

2. Linux

ct-lib on Lynix

Hi Friends ! Where can I get free ct-lib for Lynix ?? My problem is something like this-- Sybase server is running on a Solaris machine. Now I trying to access the Sybase from a Lynix machine for which i need ct-lib. I tried by downloading some free ct-libs for Lynix on the net, but they... (2 Replies)
Discussion started by: mrgubbala
2 Replies

3. HP-UX

Can't find /lib/libz.so.1

Hi, I am new to unix. But, I write programs in progress that run on an HP-UX. We are running a program and it is looking for the file /lib/libz.so.1 Naturally, we do have ZLIB 1.2.3 installed, and I can only find files called libz.sl.1 libz.a libz.sl.1.2.3 None of these files are... (2 Replies)
Discussion started by: tariqjamal
2 Replies

4. Programming

To use lib or lib32?

A good day to you, dear experts, I am a newbie, I noticed in binutils or gcc there are lib and lib32 and lib64, to take binutils as an example, My system is sgi IRIX6.5, which is suggested to use "n32" flag during the compiling and linking, is that mean that I need to use lib32? Q1. which one... (2 Replies)
Discussion started by: lakeat
2 Replies

5. Programming

2D Graphics Lib

Hi, I am on Fedora9 and need to do some simple 2D graphics (for game development). I am looking for an ideal 2D library/package to be used with GCC. I have come accross GRX, libmxi and some OpenGL (The 3D), but none of which seems to be ok. I could not find any tutorial or support material... (1 Reply)
Discussion started by: nasersh
1 Replies

6. Programming

Question on using gd lib with c++

Hello, I'm trying to use gd with c++ in linux. Previously, I had already succeed using the gd lib in windows through gdwin32. Now I would like to run the program in linux but i'm not sure how to do it. I'm currently try running it in cygwin, but I couldn't compiled it. Any suggestion? (3 Replies)
Discussion started by: shahrulb
3 Replies

7. Red Hat

ls: /lib/libattr.so.1: no version information available (required by /lib/libacl.so.1)

Hello, I'm experimenting a problem on my rh server. Red Hat Enterprise Linux AS release 3 (Taroon Update 8) 2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux It started with a segmentation fault on #id root To resolve it, I've installed coreutils-4.5.3-28.4.i386.rpm But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

8. Red Hat

Lib missing

Hai dear, I am installing some application on linux RedHat 9 It gives me following discrepancies lib.so.6 (GLIBC_2.3.4) needed lib.so.6 (GLIBC_2.4) needed libpthread.so.0(GLIBC_2.3.3) needed rtld(GNU_HASH) needed i tried to search a lot on internet to find relative rpm for these libs... (3 Replies)
Discussion started by: Danish Shakil
3 Replies

9. AIX

LIB Version

Hi...please help with command to find the library version on AIX server ---------- Post updated at 12:50 PM ---------- Previous update was at 12:31 PM ---------- AIX version is 6.1.Please (4 Replies)
Discussion started by: Sanal
4 Replies

10. UNIX for Dummies Questions & Answers

Can't CD to lib ??? why

Hi, I have root access and user name called prod. but it doesn't matter which user I log in as. But I can't CD to the directory. Can you advise. dr-xr-xr-x 1 root root 1 Sep 12 15:40 lib $id uid=4902(prod) gid=50(develop) $cd lib -bash: cd: lib: Permission... (7 Replies)
Discussion started by: samnyc
7 Replies
LDD(1)							     Linux Programmer's Manual							    LDD(1)

NAME
ldd - print shared object dependencies SYNOPSIS
ldd [option]... file... DESCRIPTION
ldd prints the shared objects (shared libraries) required by each program or shared object specified on the command line. An example of its use and output is the following: $ ldd /bin/ls linux-vdso.so.1 (0x00007ffcc3563000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f87e5459000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f87e5254000) libc.so.6 => /lib64/libc.so.6 (0x00007f87e4e92000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f87e4c22000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f87e4a1e000) /lib64/ld-linux-x86-64.so.2 (0x00005574bf12e000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f87e4817000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f87e45fa000) In the usual case, ldd invokes the standard dynamic linker (see ld.so(8)) with the LD_TRACE_LOADED_OBJECTS environment variable set to 1. This causes the dynamic linker to inspect the program's dynamic dependencies, and find (according to the rules described in ld.so(8)) and load the objects that satisfy those dependencies. For each dependency, ldd displays the location of the matching object and the (hexadeci- mal) address at which it is loaded. (The linux-vdso and ld-linux shared dependencies are special; see vdso(7) and ld.so(8).) Security Be aware that in some circumstances (e.g., where the program specifies an ELF interpreter other than ld-linux.so), some versions of ldd may attempt to obtain the dependency information by attempting to directly execute the program, which may lead to the execution of whatever code is defined in the program's ELF interpreter, and perhaps to execution of the program itself. (In glibc versions before 2.27, the upstream ldd implementation did this for example, although most distributions provided a modified version that did not.) Thus, you should never employ ldd on an untrusted executable, since this may result in the execution of arbitrary code. A safer alterna- tive when dealing with untrusted executables is: $ objdump -p /path/to/program | grep NEEDED Note, however, that this alternative shows only the direct dependencies of the executable, while ldd shows the entire dependency tree of the executable. OPTIONS
--version Print the version number of ldd. -v, --verbose Print all information, including, for example, symbol versioning information. -u, --unused Print unused direct dependencies. (Since glibc 2.3.4.) -d, --data-relocs Perform relocations and report any missing objects (ELF only). -r, --function-relocs Perform relocations for both data objects and functions, and report any missing objects or functions (ELF only). --help Usage information. BUGS
ldd does not work on a.out shared libraries. ldd does not work with some extremely old a.out programs which were built before ldd support was added to the compiler releases. If you use ldd on one of these programs, the program will attempt to run with argc = 0 and the results will be unpredictable. SEE ALSO
pldd(1), sprof(1), ld.so(8), ldconfig(8) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2017-09-15 LDD(1)
All times are GMT -4. The time now is 09:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy