10 More Discussions You Might Find Interesting
1. Solaris
I try to install php-56 in a zone, but I have the following problem:
pkg install php-56
Creating Plan (Running solver): \
pkg install: No solution was found to satisfy constraints
maintained incorporations: None
Creation Plan: dependency error (s) in proposed packages:
Not... (0 Replies)
Discussion started by: ymk369
0 Replies
2. UNIX for Beginners Questions & Answers
for pkg in `pkginfo | grep tar | grep application | awk '{print $2}'`; do pkginfo -l $pkg | grep VERSION; done
Please use CODE tags as required by forum rules! (2 Replies)
Discussion started by: svijayas
2 Replies
3. HP-UX
Dear Gurus,
I am totally new to HP-UNIX.
Can you please help me that how can i check the detail version of Oracle on HP-UNIX.
My administrator give me command for linux as below.
select * from v$version;
(Login to the database using Sql*Plus and connect as Sys user.)
Please see... (3 Replies)
Discussion started by: imtiaza
3 Replies
4. UNIX for Advanced & Expert Users
Hello,
I need to figure out the minimum OS version needed to run some executable.
For the following OS: Linux, AIX, Solaris. For example how do I know the minimum OS version for /bin/ls ? "file" command does not give me much information. There are some tools that are helpful for understanding... (4 Replies)
Discussion started by: +Yan
4 Replies
5. Solaris
How to check Solaris Volume Manager Version in 9 & 10? Which are the packages that are installed in the SVM? (1 Reply)
Discussion started by: ajhal04
1 Replies
6. AIX
Hi,
I am encountering a strange problem. We have a COREBA based C++ application running on an AIX box. The application crashes at times at the test environment causing core dump. Analyzing the core file, we found that it points to the pthread. So we thought of checking the pthread version at... (0 Replies)
Discussion started by: asutoshch
0 Replies
7. Shell Programming and Scripting
Hi ,
Is there a command that i can use to check the bit version of the OS.
I have a script that i need to run on all the unix flavors so how do i check for the condition
say something like this
if( 32 bit)
{
execute this
}
else
{
execute this (4 Replies)
Discussion started by: tcsprak
4 Replies
8. Solaris
Hi All,
Looks a foolish question, but please can someone tell me the command to check version of Solaris OS?
Thanks,
Am (5 Replies)
Discussion started by: am_yadav
5 Replies
9. Solaris
Hi All,
Please advice me how i can check the Oracle version on my UNIX Solaris machine without logging in to oracle?
Thanks,
Am (1 Reply)
Discussion started by: am_yadav
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
how do I get the version of an existing library (.o file) on an AIX 5.3 System.
Thnx for help (0 Replies)
Discussion started by: r2k
0 Replies
elf_version(3ELF) ELF Library Functions elf_version(3ELF)
NAME
elf_version - coordinate ELF library and application versions
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ]
#include <libelf.h>
unsigned elf_version(unsigned ver);
DESCRIPTION
As elf(3ELF) explains, the program, the library, and an object file have independent notions of the latest ELF version. elf_version() lets
a program query the ELF library's internal version. It further lets the program specify what memory types it uses by giving its own working
version, ver, to the library. Every program that uses the ELF library must coordinate versions as described below.
The header <libelf.h> supplies the version to the program with the macro EV_CURRENT. If the library's internal version (the highest version
known to the library) is lower than that known by the program itself, the library may lack semantic knowledge assumed by the program.
Accordingly, elf_version() will not accept a working version unknown to the library.
Passing ver equal to EV_NONE causes elf_version() to return the library's internal version, without altering the working version. If ver is
a version known to the library, elf_version() returns the previous (or initial) working version number. Otherwise, the working version
remains unchanged and elf_version() returns EV_NONE.
EXAMPLES
Example 1: A sample display of using the elf_version() function.
The following excerpt from an application program protects itself from using an older library:
if (elf_version(EV_CURRENT) == EV_NONE) {
/* library out of date */
/* recover from error */
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
elf(3ELF), elf32_xlatetof(3ELF), elf_begin(3ELF), libelf(3LIB), attributes(5)
NOTES
The working version should be the same for all operations on a particular ELF descriptor. Changing the version between operations on a
descriptor will probably not give the expected results.
SunOS 5.10 11 Jul 2001 elf_version(3ELF)