05-08-2008
Finding SYmbols in LIB
Whats the unix command to identify the symbols in the shared library.
I want to find the symbol "nnftboot" is in the library libnnz10.so.
Can any one help on this.
10 More Discussions You Might Find Interesting
1. Programming
i am trying to compile transcode on AIX v 4.3.3 with gcc 3.0.1
i am getting this error:
gcc -shared -o .libs/libexport_null.so.0 export_null.o -lpthread -ldl -lc -Wl,-bnoentry -Wl,-bexport:.libs/libexport_null.exp
ld: 0711-317 ERROR: Undefined symbol: capability_flag
ld: 0711-317... (0 Replies)
Discussion started by: thalex
0 Replies
2. Shell Programming and Scripting
I want to edit a huge script file using sed. How can I add the new lines symbols in the red colored places?
sed -e "s/test -z "$x"/if test -z "$x" then echo -1; \n else \n/g" (1 Reply)
Discussion started by: gogogo
1 Replies
3. Shell Programming and Scripting
Hi,
Any one of you guys can you help me out to filter all "," (single comma) from the below attached contents in a file.
sportiva:root:/home/users/thayata/test # cat sample2.csv
Heading,Sub Heading,,Detail
Server details,Deployment environment:,,Standard Datacentre DC1
,Chassis... (2 Replies)
Discussion started by: ajilesh
2 Replies
4. AIX
Hello experts ,
i have some strange problem,
i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do
nm -Bo sample.so ,
i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies
5. Shell Programming and Scripting
Can anyone please tell me what the following do
1. <
2. <<
Thanks
Calypso (1 Reply)
Discussion started by: Calypso
1 Replies
6. Programming
Greetings,
I am slowly learning a few things but am far from being an expert. I am at the point now that I
would like to be able write some ANSI C code on HP-UX 10.2. Just a hobbie... I am just using cc,
which came with the HP-UX 10.2 ...
I don't have the manuals for the development... (7 Replies)
Discussion started by: Dirk_
7 Replies
7. Red Hat
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. UNIX for Dummies Questions & Answers
I noticed that sometimes there is "~#" or "~$" in the terminal. What is that? I can't make any research in google because I don't know what are they called. I even tried reading pdf's or books but unfortunately, I wasn't lucky to find out. Maybe I was not persistent enough but I am really... (3 Replies)
Discussion started by: chams
3 Replies
9. Shell Programming and Scripting
When i try to vi a file, see some extra characters "l^H^@^@^@^@^F^@"...but when i cat the same file i am not seeing this...How do i remove this??? (4 Replies)
Discussion started by: problemchild
4 Replies
10. AIX
Hi, I need to look at a recent copy of /usr/include/errno.h from AIX 7.2 to check some symbols. In particular, I'm curious if it defines EOWNERDEAD and ENOTRECOVERABLE. Can someone who has access to 7.2 please check for me? Thanks! (1 Reply)
Discussion started by: topcat
1 Replies
LDBASH(1) libbash Manual LDBASH(1)
NAME
ldbash -- Dynamic loader for libbash(7) libraries.
SYNOPSIS
ldbash [-h | --help]
ldbash [-l | --list]
ldbash [-L | --load lib,[lib] ...]
ldbash [-U | --unload lib,[lib] ...]
ldbash [-e | --externlist lib,[lib] ...]
ldbash [--externlist-all]
ldbash [--i | --internlista lib,[lib] ...]
ldbash [--internlist-all]
DESCRIPTION
ldbash is used to manipulate libbash(7) libraries. Its main function is to load specific library. It can also print list of available
libraries, list functions each library exports, unload functions, etc.
In case of --load and --unload ,the output is intended to be passed to bash eval command.
Options
-h | --help Print options summary
-l | --list Display list of available libraries. The libraries names listed, may be passed as parameters to other invocations of ldbash.
I.e. first you run ldbash --list to see what is available and then you may load it.
-L | --load lib,[lib] ...
Load given libraries - i.e. print string that should be passed to eval command. Usually the string contains various source
commands.
Libraries that given libraries depend on are also loaded.
Libraries only loaded if their dependencies are satisfied. Dependencies are resolved using ldbash.cache file, which is created
by ldbashconfig(8).
-U | --unload lib,[lib] ...
Unload given libraries, but not their dependencies.
The output should be passed to eval command (in the same manner as with --load ).
-e | --externlist lib,[lib] ...
List all symbols that are exported by given libraries. Symbols are usually functions that given libraries implement.
--externlist-all
List all exported symbols of all available libraries. Symbols are usually functions that library implement.
-i | --internlist lib,[lib] ...
List all internal symbols (i.e. global variables/functions) of given libraries. This is intended mostly for developers that
want to develop library of their own, and want to be sure that they don't override any already defined symbol.
--internlist-all
List all internal symbols of all available libraries. This is intended mostly for developers that want to develop library of
their own, and want to be sure that they don't override any already defined symbol.
FILES
/etc/ldbash.cache
Cache file that contains information about libraries dependencies and list of exported symbols. See ldbashconfig((8)) for further
details.
BUGS
The script can't load libraries if their file name starts with '-'. (If someone uses file names that start with a '-' he/she deserves it!)
AUTHORS
Hai Zaar <haizaar@gmail.com>
Gil Ran <gil@ran4.net>
SEE ALSO
libbash(7), ldbashconfig(8)
Linux Epoch Linux