OK, what's the output from "file Sample" and "file Sample.o" along with "elfdump -e Sample" and "elfdump -e Sample.o"? ("elfdump" should be in /usr/ccs/bin)
I want to use calls from the X Keyboard Extension, but get "library version mismatch" error.
First one is XkbLibraryVersion(..). This one already returns false.
Then I call XkbOpenDisplay(...) which does not return a valid display; return value is XkbOD_NonXkbServer. If I open the display with... (0 Replies)
Command to get the Compiler version(xlc/gcc) from the binary on AIX platform.
I m searching for the Command, to get the Compiler(xlc/gcc) used to build the binary on AIX.
I got two commands used on Linux Platform:
- readelf -a <lib> | grep comment
- hexdump -C -s 0x49e7b -n 1812 <lib>
... (1 Reply)
Hi all.
I have a simple question.
There's a way to install under AIX system (5.3) two different compiler version, i.e. ibm xlf fortran 11 and 12?
Seems that smitty doesn't allows user to change the default installation path; it only allows you to save the replaced files of the superseded... (1 Reply)
:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version
What should I do to fix this ...should show the latest version... (3 Replies)
Hi,
I'm new, here, and I'm searching for a simple solution for a simple problem.
I'm working on RedHat 4.4.6-4 through a CentOS Virtual Machine and due to some reasons I must compile my C++ codes with these two different g++ versions: 4.4.6 and 4.2.2.
The fact is that I should be able to... (4 Replies)
Hi,
Below is output of lslpp command.
bash-3.00# lslpp -L | grep xlC
xlC.aix50.rte 11.1.0.1 C F XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 C F C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 C F C for AIX... (2 Replies)
Hi all,
currently I'm facing a issue in linking a .so file.
In my build machine, I've libcrypto.so.6 and there is a softlink as libcrypto.so.
In my make file I'm trying to link to the lib using -L -lcrypto and it is success and created my test.exe.
When I copy this test.exe to other... (4 Replies)
rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -t -a -x' /web/admin/Transfer/data/ user1@destserver1:/tmp/testf
rsync version on sender server is:3.0.9
rsync version on sender server is:3.0.6
Linux sourceserver1 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT X11R4
elfdump
elfdump(1) User Commands elfdump(1)NAME
elfdump - dumps selected parts of an object file
SYNOPSIS
elfdump [-cCdegGhHiklmnprsuvy] [-N name] [-w file] filename...
DESCRIPTION
The elfdump utility symbolically dumps selected parts of the specified object file(s). The options allow specific portions of the file to
be displayed.
The elfdump utility is similar in function to the dump(1) utility. The dump utility offers an older and less user-friendly interface than
elfdump, although dump might be more appropriate for certain uses such as in shell scripts.
Archive files, produced by ar(1), can also be inspected with elfdump. In this case, each object within the archive is processed using the
options supplied.
For a complete description of the displayed information, refer to the Linker and Libraries Guide.
OPTIONS
The following options are supported:
-c Dumps section header information.
-C Demangles C++ symbol names.
-d Dumps the contents of the .dynamic section.
-e Dumps the ELF header.
-g Dumps the contents of the .group section.
-G Dumps the contents of the .got section.
-h Dumps the contents of the .hash section.
-H Dumps the contents of the .SUNW_cap hardware and software capabilities section.
-i Dumps the contents of the .interp section.
-k Calculates the ELF checksum. See gelf_checksum(3ELF).
-l Displays long section names without truncation.
-m Dumps the contents of the .SUNW_move section.
-n Dumps the contents of the .note section.
-N name Qualifies an option with a specific name. For example, in a file that contains more than one symbol table, the .dynsym ta-
ble can be displayed using:
example% elfdump -s -N .dynsym filename
-p Dumps the program headers.
-r Dumps the contents of the .rel[a] relocation sections.
-s Dumps the contents of the .dynsym and .symtab symbol table sections. For archives, the archive symbol table is also dumped.
Individual sections can be specified with the -N option. An archive symbol table can be specified using the special section
name -N ARSYM.
In the case of core files, the shndx field will have the value "unknown" since the field does not contain the valid values.
In addition to the standard symbol table information, the version definition index of the symbol is also provided under the
ver heading.
-u Dumps the contents of a frame unwind.
-v Dumps the contents of the .SUNW_version version sections.
-w file Writes the contents of a section that is specified with the -N option, to the named file. For example, extracting the .text
section of a file can be carried out with:
example% elfdump -w text.out -N .text filename
-y Dumps the contents of the .SUNW_syminfo section.
OPERANDS
The following operand is supported:
filename The name of the specified object file.
FILES
liblddbg.so linker debugging library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO ar(1), dump(1), nm(1), pvs(1), elf(3ELF), attributes(5)
Linker and Libraries Guide
SunOS 5.10 4 Oct 2004 elfdump(1)