Sponsored Content
Operating Systems Linux SuSE Cannot find -lusb in opensuse 12.2 Post 302868033 by LMHmedchem on Friday 25th of October 2013 04:50:40 PM
Old 10-25-2013
This is the list of libs that are loaded,
linux-vdso.so.1 (0x00007fffd1595000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f85ac109000)
libusb-1.0.so.0 => /usr/lib64/libusb-1.0.so.0 (0x00007f85abef9000)
libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x00007f85abc17000)
libm.so.6 => /lib64/libm.so.6 (0x00007f85ab919000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f85ab703000)
libc.so.6 => /lib64/libc.so.6 (0x00007f85ab355000)
/lib64/ld-linux-x86-64.so.2 (0x00007f85ac325000)
librt.so.1 => /lib64/librt.so.1 (0x00007f85ab14d000)

I'm not sure this tells me if my app is using anything in the library or not because I linked to the usb library in make. If I have -lusb-1.0 in my link rule, will libusb-1.0 appear on this list even if there is never anything in the library that gets called?

I guess I probably need to build it without the link and see if it still works.

LMHmedchem
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Opensuse installation

I have never installed unix, after going through forum i realised opensuse is one of the goodoptions. I have downloaded iso image and burned DVD and took installation print out. I have created a partition (g)of 10gb, but my question is how do i make unix to get installed on my partitioned... (0 Replies)
Discussion started by: striker1
0 Replies

2. Linux

The LimitRequestBody filed in openSUSE 10.2

Because some program i have installed can not upload files bigger than some size as printing, the base got a packet bigger than 'max_allowed_packet' bytes what that i need to do as written in the documentation of the program increase the value of a fileld called LimitRequestBody told that is in... (5 Replies)
Discussion started by: tal
5 Replies

3. SuSE

Opensuse mt command

do not have lock and unlock function, is any way to lock the tape drive under opensuse 10? thanks (4 Replies)
Discussion started by: lijiajin
4 Replies

4. UNIX for Advanced & Expert Users

openSuse 10.3 , Emulex HBA

hello, i have a dell Poweredge 2950 ( Server ) and an IBM storage device DS 3000 family ( Storage ) . I am supposed to link the IBM storage device to the Dell Poweredge via "Emulex 4Gb Fibre Channel Host Bus Adapter". I have put the addapter card in my server and connected it to the storage.... (3 Replies)
Discussion started by: nux007
3 Replies

5. SuSE

openSUSE support

does Novell support openSUSE as it does for it's server packages, or is openSUSE's support the same as every other distribution of linux? (1 Reply)
Discussion started by: bcbotha
1 Replies

6. SuSE

openSuse 11.1 RAID 0 Question

Hello, I have a file server running openSuse 11.1, that has two HDDs running in RAID 0 (mirroring) using the md software RAID linux driver. I was considering removing this RAID, using one of the drives as the OS and the other as a data drive. Is there any way to stop using this as a RAID set to do... (4 Replies)
Discussion started by: vwgtiturbo
4 Replies

7. SuSE

Is OpenSuSE 12.1 stable and reliable?

Hi, We are ready to update OpenSuSE for our web servers from 11.2 to either 11.4 or 12.1. 12.1 is still a beta version. Is it stable and reliable enough for production servers? Please share your valuable experiences. Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 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 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy