10 More Discussions You Might Find Interesting
1. Linux
Hi All,
i am facing shared library error, below is the output of the command I am executing on my client
# /usr/software/bin/sudo
/usr/software/bin/sudo: error while loading shared libraries: libaudit.so.1: cannot open shared object file: No such file or directory
#
I tried install... (4 Replies)
Discussion started by: muzaffar.k
4 Replies
2. AIX
I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message.
add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies
3. Programming
Hello.
I am new to this forum and I would like to ask for advice about low level POSIX programming.
I have to implement a POSIX compliant C shared library.
A file will have some variables and the shared library will have some functions which need those variables.
There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies
4. Programming
Hi all,
I am working with opensolaris and I am trying create a shared native library via using make but I am getting the following error--
make -f /Makefile.SunOS debug
javah -jni SerialPort
javah -jni SerialInputStream
javah -jni SerialOutputStream
gcc -mno-app-regs -DSUN... (4 Replies)
Discussion started by: smartgupta
4 Replies
5. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
6. Red Hat
Hi All,
I have RHEL 5 installed in my system. Something must has happened because when i reboot the server, it came with many error..
/usr/bin/rhgb-client -- error while loading shared libraries: libpopt.so.0. Can't open shared object files. No such file/directory
It finnaly ends with the... (0 Replies)
Discussion started by: c00kie88
0 Replies
7. Programming
I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability.
Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Discussion started by: otheus
0 Replies
8. UNIX for Dummies Questions & Answers
Getting the following error ,
ld: /opt/syncsort39/lib/libsyncsort.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.
Is there any difference in the ld options in opt file while linking a 64 bit shared library ? Or is the problem because we are trying to link both 32 bit and 64... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
9. Linux
hi
how can i load dynamic or shared library in linux kernel modules .
mtaghiloo@yahoo.com (0 Replies)
Discussion started by: mtaghiloo
0 Replies
10. Programming
Hi,
I am facing problem while creating shared library using makeC++SharedLib_r. I am using the following command
makeC++SharedLib_r -E rpcresolver.exp -L/home/myAccount/lib -lcxxbase -lfsbutil_r -lpthreads -bimport:/usr/lib/sna/appc_r.exp -o resolver-shared.o -p 0 rpcresolver.o
Every time... (0 Replies)
Discussion started by: satguyz
0 Replies
DH_SHLIBDEPS(1) Debhelper DH_SHLIBDEPS(1)
NAME
dh_shlibdeps - calculate shared library dependencies
SYNOPSIS
dh_shlibdeps [debhelperoptions] [-Lpackage] [-ldirectory] [-Xitem] [--params]
DESCRIPTION
dh_shlibdeps is a debhelper program that is responsible for calculating shared library dependencies for packages.
This program is merely a wrapper around dpkg-shlibdeps(1) that calls it once for each package listed in the control file, passing it a list
of ELF executables and shared libraries it has found.
OPTIONS
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being passed to dpkg-shlibdeps. This will make their dependencies be
ignored. This may be useful in some situations, but use it with caution. This option may be used more than once to exclude more than
one thing.
-- params
Pass params to dpkg-shlibdeps(1).
-uparams, --dpkg-shlibdeps-params=params
This is another way to pass params to dpkg-shlibdeps(1). It is deprecated; use -- instead.
-ldirectory[:directory ...]
With recent versions of dpkg-shlibdeps, this option is generally not needed.
Before dpkg-shlibdeps is run, LD_LIBRARY_PATH will have added to it the specified directory (or directories -- separate with colons).
With recent versions of dpkg-shlibdeps, this is mostly only useful for packages that build multiple flavors of the same library, or
other situations where the library is installed into a directory not on the regular library search path.
-Lpackage, --libpackage=package
With recent versions of dpkg-shlibdeps, this option is generally not needed, unless your package builds multiple flavors of the same
library.
It tells dpkg-shlibdeps (via its -S parameter) to look first in the package build directory for the specified package, when searching
for libraries, symbol files, and shlibs files.
EXAMPLES
Suppose that your source package produces libfoo1, libfoo-dev, and libfoo-bin binary packages. libfoo-bin links against libfoo1, and should
depend on it. In your rules file, first run dh_makeshlibs, then dh_shlibdeps:
dh_makeshlibs
dh_shlibdeps
This will have the effect of generating automatically a shlibs file for libfoo1, and using that file and the libfoo1 library in the
debian/libfoo1/usr/lib directory to calculate shared library dependency information.
If a libbar1 package is also produced, that is an alternate build of libfoo, and is installed into /usr/lib/bar/, you can make libfoo-bin
depend on libbar1 as follows:
dh_shlibdeps -Llibbar1 -l/usr/lib/bar
SEE ALSO
debhelper(7), dpkg-shlibdeps(1)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
8.9.0ubuntu2.1 2012-06-12 DH_SHLIBDEPS(1)