02-15-2007
10 More Discussions You Might Find Interesting
1. Programming
Hi
I'm getting
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
after running
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
Discussion started by: laho
6 Replies
2. 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
3. Linux
Hi,
I am trying to create shared library. When i run the script to build the library i get these errors
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libgc.so.0: open failed: No such file or directory
ld: fatal: File processing errors. No output written... (0 Replies)
Discussion started by: masg1
0 Replies
4. UNIX for Dummies Questions & Answers
I am brand new to Unix. This is probably simple, but how do you list the contents of a shared library? I need to see which functions exist in it.
Many thanks. (1 Reply)
Discussion started by: mickpoil
1 Replies
5. Programming
How can I debug a C++ program (unix) that uses a dinamycaly linked library (dlopen(), dlsym())? I mean I want to be able to go through the library code too. I used ddd, but it's not working.
thanks in advance!
nadia (2 Replies)
Discussion started by: nadiamihu
2 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
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
8. OS X (Apple)
I'm trying to get Valgrind to work with an openmpi application in OS X. However I want to hardcode the path to a shared library called libmpiwrap-amd64-darwin.so into my application so that it is available at runtime. In Linux this is relatively simple, I would just add the option... (0 Replies)
Discussion started by: Valgrinder
0 Replies
9. 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
10. UNIX for Advanced & Expert Users
I am administering an Xserver v10.6.8 and I updated the ports using Macports self update. I received this error when calling the program R
dyld: Library not loaded: /opt/local/lib/libicuuc.48.dylib
Referenced from: /opt/local/lib/R/lib/x86_64/libR.dylib
Reason: image not found
Trace/BPT... (2 Replies)
Discussion started by: godzilla07
2 Replies
libdl(3LIB) Interface Libraries libdl(3LIB)
NAME
libdl - dynamic linking library
SYNOPSIS
cc [ flag... ] file... -ldl [ library... ]
DESCRIPTION
Historically, functions in libdl provided for dynamic linking support. This functionality now resides in libc(3LIB).
This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is imple-
mented as a filter on the runtime linker. See ld.so.1(1). New application development need not specify -ldl.
INTERFACES
The shared object libdl.so.1 provides the following public interfaces. See intro(3) for additional information on shared object interfaces.
dladdr dladdr1
dlclose dldump
dlerror dlinfo
dlmopen dlopen
dlsym
FILES
/lib/libdl.so.1 shared object
/lib/64/libdl.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
ld.so.1(1), pvs(1), intro(3), libc(3LIB), attributes(5)
SunOS 5.10 24 Mar 2004 libdl(3LIB)