Sponsored Content
Top Forums UNIX for Advanced & Expert Users "relocation error" when installing app Post 302352149 by treesloth on Thursday 10th of September 2009 01:33:44 PM
Old 09-10-2009
This is RHEL 4, deployed as a VPS environment. I mention that only because it pretty much guarantees a snail's pace of updates...

Mine is also a link...

Code:
# ll /lib/ld-linux.so.2
lrwxrwxrwx 1 root root 9 Sep 16  2008 /lib/ld-linux.so.2 -> ld-2.5.so

The strange thing is that exactly the same installation succeeds on an identical VPS on the same physical system, so apparently I've managed to pooch something in my environment...

Last edited by treesloth; 09-10-2009 at 02:45 PM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

3. HP-UX

Need to identify the process/app which is triggering the error "vmunix: file: table is full"

Hi, I'm seeing the error vmunix: file: table is full in syslog.log. Although changing the value of the kernel parameter nfile would make this error go away, how would I identify which process/application in the server is triggering this error? The server is a HP-UX B.11.11. Thanks in advance! (1 Reply)
Discussion started by: enchogas
1 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
reloc(5)							File Formats Manual							  reloc(5)

Name
       reloc - relocation information for a MIPS object file

Syntax
       #include <reloc.h>

Description
       Object  files  have one relocation entry for each relocatable reference in the text or data.  If relocation information is present, it will
       be in the following format:

       struct	reloc
       {
	  long	    r_vaddr ;	       /* (virtual) address of reference */
	  long	    r_symndx ;	       /* index into symbol table */
	  ushort    r_type ;	       /* relocation type */
	  unsigned  r_symndx:24,       /* index into symbol table */
		    r_reserved:3,
		    r_type:4,	       /* relocation type */
		    r_extern:1;        /* if 1 symndx is an index into the
					  external symbol table, else symndx
					  is a section # */
       } ;

       /* Relocation types */

       #define	R_ABS	    0
       #define	R_REFHALF   1
       #define	R_REFWORD   2
       #define	R_JMPADDR   3
       #define	R_REFHI     4
       #define	R_REFLO     5
       #define	R_GPREL     6
       #define	R_LITERAL   7

       /* Section numbers */

       #define	R_SN_NULL   0
       #define	R_SN_TEXT   1
       #define	R_SN_RDATA  2
       #define	R_SN_DATA   3
       #define	R_SN_SDATA  4
       #define	R_SN_SBSS   5
       #define	R_SN_BSS    6
       #define	R_SN_INIT   7
       #define	R_SN_LIT8   8
       #define	R_SN_LIT4   9

       The link editor reads each input section and performs relocation.  The relocation entries direct how references found within the input sec-
       tion are treated.

       If  is zero, it is a local relocation entry and then is a section number (R_SN_*).  For these entries, the starting address for the section
       referenced by the section number is used in place of an external symbol table entry's value.  The assembler and	loader	always	use  local
       relocation entries if the item to be relocated is defined in the object file.

       For  every  external  relocation (except R_ABS) a signed constant is added to the symbol's virtual address that the relocation entry refers
       to.  This constant is assembled at the address being relocated.

       R_ABS	      The reference is absolute and no relocation is necessary.  The entry will be ignored.

       R_REFHALF      A 16-bit reference to the symbol's virtual address.

       R_REFWORD      A 32-bit reference to the symbol's virtual address.

       R_JMPADDR      A 26-bit jump instruction reference to the symbol's virtual address.

       R_REFHI	      A reference to the high 16 bits of the symbol's virtual address.	The  next  relocation  entry  must  be	the  corresponding
		      R_REFLO entry, so the proper value of the constant to be added to the symbol's virtual address can be reconstructed.

       R_REFLO	      A reference to low 16 bits to the symbol's virtual address.

       R_GPREL	      A 16-bit offset to the symbol's virtual address from the global pointer register.

       R_LITERAL      A 16-bit offset to the literal's virtual address from the global pointer register.

       Relocation  entries  are generated automatically by the assembler and automatically used by the link editor.  Link editor options exist for
       both preserving and removing the relocation entries from object files.

       The number of relocation entries for a section is found in the field of the section header.  This field is a C language short and can over-
       flow  with  large objects.  If this field overflows, the section header field has the S_NRELOC_OVFL bit set.  In this case, the true number
       of relocation entries is found in the field of the first relocation entry for that section.  That relocation entry has a type of R_ABS,	so
       it is ignored when the relocation takes place.

See Also
       as(1), ld(1), a.out(5), syms(5), scnhdr(5)

								       RISC								  reloc(5)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy