10-21-2006
man dld
The dynamic load library routines
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I wonder how can we override the dynamic library loaded by ld on start up.(dynamic linked application). so that linker uses the new library to find symbols.
Is it possible to do.
Cheers. (4 Replies)
Discussion started by: Raom
4 Replies
2. Linux
I am trying to run seagull tool. But when i start it following error shown
|E|Unable to open library file error
|A|STOP log
Please help me how i can recover from it. (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
3. Programming
I am getting error while processing the below line : "DEPENDENCIES=$OMNIWORKS_PATH/tradewind/build/build_dg_c $(SET) "*.pcc" $(SET).pcctmp1 ".cc" h" ...
---------------------------------------------
! ----------------------------------------------------------------------------
! Build rule... (0 Replies)
Discussion started by: shafi2all
0 Replies
4. Programming
I am debugging in gdb a program that dynamically loads libodbcinst.so. I want to debug the code from libodbcinst - I can break in it, see the source and step through it, but whenever I try printing a variable, I get (e.g. for the variable ret):
No symbol "ret" in current context.
In my program... (0 Replies)
Discussion started by: rimon
0 Replies
5. Programming
I am making cpp application with mysql databases. I m able to compile my application, but when i m executing the program, i m getting the loading errror as -
error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
can any one... (2 Replies)
Discussion started by: ps_sach
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. UNIX for Advanced & Expert Users
Dear Fellows;
As being new to linux, i have tried to synamically load a custom library which overrides some system calls like conncet(), socket() etc.... for custom purposes.
It works well, if declaring the environment path LD_PRELOAD and execution of the application to be override... (0 Replies)
Discussion started by: mzeeshan
0 Replies
8. Programming
Hi All
I have been given by someone else header file and a shared library to be used by my C++ application. Compilation is fine but when I try to executes the application I receive the following error.
./first: error while loading shared libraries: libMyLib.so.9: cannot open shared object file:... (2 Replies)
Discussion started by: manustone
2 Replies
9. AIX
Hi,
I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well.
Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies
10. Programming
hello
I apologize if my question bothers you
I work on a code developed in C + + which worked well on mac os, this code will help create libraries *.so from *.cc and *.h I used this as flags:CXXFLAGS = -g -O2 -fPIC -Wall -ldl -D_GNU_SOURCE ,CXX := g++ and $(CXX)-shared -o $(LIBNAME) $(CLIBLIB)... (0 Replies)
Discussion started by: pheapc
0 Replies
LEARN ABOUT HPUX
dlgetmodinfo
dlgetmodinfo(3C) dlgetmodinfo(3C)
NAME
dlgetmodinfo() - retrieve information about a loaded module (program or shared library)
SYNOPSIS
[flag... ] file ... [library] ...
Multithread Usage
Thread safe in but not in
DESCRIPTION
is one of a family of routines that give the user direct access to the dynamic linking facilities. retrieves information about a load mod-
ule from an index specifying the placement of the load module in the dynamic loader's search list. Unlike can retrieve information about a
load module in another process. index of requests information about the dynamic loader. An index of requests information about the pro-
gram file itself. The routine fills the load_module_desc with information from the matching load module.
The desc, desc_size, read_tgt_mem, ident_parm, and load_map_parm parameters are identical to those for See dlmodinfo(3C).
RETURN VALUE
If successful, returns a handle for the shared library as defined by the return value from NULL is returned otherwise. The return values
are type-converted to
ERRORS
If fails, a subsequent call to returns one of the following values:
Cannot apply relocation in library.
Invalid address.
Invalid descriptor argument.
Invalid descriptor version.
Invalid load module index.
Out of memory.
failed in reading target memory.
failed on entry to or exit from
failed on exit from
failed on entry to
AUTHOR
was developed by HP.
SEE ALSO
System Tools
exec(2) System loader.
ld(1) Invokes the link editor.
Miscellaneous
a.out(4) Assembler, compiler, and linker output.
dlclose(3C) Unloads a shared library previously loaded by
dlerror(3C) Returns the last error message recorded by
dlerrno(3C) Returns an error code for the last error recorded by
dlget(3C) Returns information about a loaded module.
dlgetname(3C) Returns the name of the storage containing a load module.
dlopen(3C) Loads a shared library.
dlsym(3C) Gets the address of a symbol in a shared library.
dlmodinfo(3C) Retrieve information about a loaded module (program or shared library).
Texts and Tutorials
(See the option)
(See manuals(5) for ordering information)
dlgetmodinfo(3C)