Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ranlib(1) [osf1 man page]

ranlib(1)						      General Commands Manual							 ranlib(1)

NAME
ranlib - Converts archives to random libraries SYNOPSIS
ranlib [-t] archive... The ranlib command converts each archive file archive to a format that enables fast, random access by the linker. OPTIONS
Touches the named archives without modifying them. DESCRIPTION
If you specify the -t option, the ranlib command only touches the archives and does not modify them. This is useful after copying an ar- chive or using make with the -t option in order to avoid having ld display an error message about an out-of-date symbol table. The ranlib command is included for compatibility only. It is a shell script that invokes the ar command with the appropriate options (ar -qs for ranlib with no options, and ar -h for ranlib -t). EXAMPLES
To convert the archive file genlib.a, enter: ranlib genlib.a SEE ALSO
Commands: ar(1), lorder(1), make(1) ranlib(1)

Check Out this Related Man Page

RANLIB(5)						      BSD File Formats Manual							 RANLIB(5)

NAME
ranlib -- a.out archive (library) table-of-contents format SYNOPSIS
#include <ranlib.h> DESCRIPTION
The archive table-of-contents command ranlib creates a table of contents for archives, containing object files, to be used by the link-editor ld(1). It operates on archives created with the utility ar(1). The ranlib function prepends a new file to the archive which has three separate parts. The first part is a standard archive header, which has a special name field, "__.SYMDEF". The second part is a ``long'' followed by a list of ranlib structures. The long is the size, in bytes, of the list of ranlib structures. Each of the ranlib structures consists of a zero based offset into the next section (a string table of symbols) and an offset from the begin- ning of the archive to the start of the archive file which defines the symbol. The actual number of ranlib structures is this number divided by the size of an individual ranlib structure. The third part is a ``long'' followed by a string table. The long is the size, in bytes of the string table. SEE ALSO
ar(1), ranlib(1) BUGS
The <ranlib.h> header file, and the ranlib manual page, do not describe the table-of-contents used by ELF systems, which is that from the AT&T System V Release 4 UNIX ABI. BSD
June 6, 1993 BSD
Man Page

10 More Discussions You Might Find Interesting

1. Programming

Merge .lo into .so

Good day to everyone. I've built an libxml2 from sources. I can not install it in a proper way with using repository due to I have not sudo privilegies. I've got a set of .lo files. Is there a simple way to merge it in one .so or .a file? (2 Replies)
Discussion started by: z7ql
2 Replies

2. HP-UX

Apache web server instalation error in HP-UX 11.31

Hi , I am getting an error while installing on a new hp-ux 11.31 server for the first time. I have troubleshooted to some extent and installed the C compiler which it was asking for and now a new error has arised. please find the below error, Any help would be appreciated. $ make Making all... (1 Reply)
Discussion started by: Prasad@hp-ux
1 Replies

3. Shell Programming and Scripting

Leaving directory Error

Hi, i have a question, when I install any software it give error message like as follow : sudo make password for csm: make all-recursive make: Entering directory `/home/csm/Desktop/miRanda-3.3a' Making all in man make: Entering directory `/home/csm/Desktop/miRanda-3.3a/man' make:... (18 Replies)
Discussion started by: harpreetmanku04
18 Replies

4. UNIX for Dummies Questions & Answers

Error message while software installation

I got every time the same error leaving directory etc when i install any software. I put up the command and the error below, kindly help me out so i could proceed. csm@csm-HP-Z420:~$ cd Desktop/ csm@csm-HP-Z420:~/Desktop$ csm@csm-HP-Z420:~/Desktop$ cd microtar-0.9.6/... (8 Replies)
Discussion started by: harpreetmanku04
8 Replies

5. Shell Programming and Scripting

Gamit installation error: showing Failure in make_gamit -- install_software terminated

what i should to do next? read full query first please!! harshbhu@harshbhu:/usr/local/gg/10.6/updates/Source$ sudo ./install_software sudo: unable to resolve host harshbhu install_software version 2017/06/29 GAMIT and GLOBK to be installed into /usr/local/gg/10.6/updates/Source If... (0 Replies)
Discussion started by: ankit lohar
0 Replies

6. Programming

Gamit installation error: /libraries/comlib/com_lib.a(pickfn_gftn.o)' is incompatible with i386:x86-

harshbhu@harshbhu:/usr/local/gg/10.6/updates/Source$ sudo ./install_softwaresudo: unable to resolve host harshbhu password for harshbhu: install_software version 2017/06/29 GAMIT and GLOBK to be installed into /usr/local/gg/10.6/updates/Source If you need help with command line... (1 Reply)
Discussion started by: ankit lohar
1 Replies

7. Linux

Please: a litte help to crosscompile.

I have installed the "mipsel tuxbox" compile suite for crosscompile Host system is x86_64 slackware destination is mipsel32bit "vuduo+" For example,I want to compile a program, I use this script make clean export TOOLCHAIN=/opt/mipsel-tuxbox-linux-gnu export... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

8. AIX

Compiling problem - AIX 7.2

Hi We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1 With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why. When... (10 Replies)
Discussion started by: bobochacha29
10 Replies

9. UNIX for Advanced & Expert Users

AIX 7.1 gcc 4.8.5 issue

hey guys , after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036... (17 Replies)
Discussion started by: yahia
17 Replies

10. UNIX for Beginners Questions & Answers

NTP synchronised problem in our Centos 7.6 node

Someone, please help on this issue:- Note : for security reason i didn't mention hostnames and ips. ============================================================================== # ntpstat unsynchronised polling server every 1024 s Ntpstat showing unsynchronised. ... (29 Replies)
Discussion started by: shanmugaraj
29 Replies