Sponsored Content
Full Discussion: to check version to library
Top Forums Programming to check version to library Post 6863 by dilipluhar on Thursday 13th of September 2001 11:31:36 PM
Old 09-14-2001
MySQL to check version to library

how to check the version of Library
version of Program &
version of file.

while compile pro*c program, I got error like elf error: no string table

if u have any suggestion then give me urgently.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

get library version

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

2. Solaris

Check version of Oracle

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

3. Solaris

How to check version of 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

4. Shell Programming and Scripting

Check for the bit version of OS

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

5. AIX

pthread library version

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

6. Solaris

How to check SVM version Solaris 9 and 10?

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

7. UNIX for Advanced & Expert Users

Figure out the minimum os version neede to run executable or link library.

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

8. HP-UX

How to check Oracle version on HP-UNIX?

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

9. UNIX for Beginners Questions & Answers

How to check tar version in Solaris?

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

10. Solaris

Global zone has an older version of package: pkg://Solaris/system/library

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
elf_strptr(3E)															    elf_strptr(3E)

NAME
elf_strptr - make a string pointer SYNOPSIS
[flag... ] file... [library] ... DESCRIPTION
This function converts a string section offset to a string pointer. elf identifies the file in which the string section resides, and sec- tion gives the section table index for the strings. normally returns a pointer to a string, but it returns a null pointer when elf is null, section is invalid or is not a section of type the section data cannot be obtained, offset is invalid, or an error occurs. EXAMPLES
A prototype for retrieving section names appears below. The file header specifies the section name string table in the member. The fol- lowing code loops through the sections, printing their names. if ((ehdr = elf32_getehdr(elf)) == 0) { /* handle the error */ return; } ndx = ehdr->e_shstrndx; scn = 0; while ((scn = elf_nextscn(elf, scn)) != 0) { char *name = 0; if ((shdr = elf32_getshdr(scn)) != 0) name = elf_strptr(elf, ndx, (size_t)shdr->sh_name); printf("'%s' ", name? name: "(null)"); } Note A program may call to retrieve an entire string table section. For some applications, that would be both more efficient and more conve- nient than using SEE ALSO
elf(3E), elf_getdata(3E), elf_getshdr(3E), elf_xlate(3E). elf_strptr(3E)
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy