Sponsored Content
Full Discussion: please help with openbsd 2.9
Top Forums UNIX for Dummies Questions & Answers please help with openbsd 2.9 Post 3123 by Neo on Saturday 23rd of June 2001 10:03:54 AM
Old 06-23-2001
Code:
-rwxr-xr-x   1 root     root         7736 Mar 21  2000 libutil-2.1.3.so*
lrwxrwxrwx   1 root     root           16 Aug 19  1994 libutil.so.1 -> libutil-2.1.3.so*

The example above is from my /lib directory on one of my servers. Notice that the shared library file is libutil-2.1.3.so, which was the current version when I did my installation. It might be libutil-2.1.5 now (for all I know Smilie ) because shared lib (like all dynamic code) changes frequently to add features and to fix bugs in the code.<P>
However, all code that used the shared library must have a symbol or token to represent the library, this is normally something like libutil.so.X. Normally libutil.so.3 will work in code designed for libutil.so.2 (but not always!). <P>
So, when you install a new library, for example libutil-3.1.1 you must create a symbolic link (as required). In the example above, you might do an:

Code:
ln -sf libutil-3.1.1.so libutil.so.1

This might not be enough, because newer code might look for the token libutil.so.3 !! So, you also must do:

Code:
ln -sf libutil-3.1.1.so libutil.so.3

Which creates another symbolic link, as required. <P>
<A HREF=http://forums.unix.com/showthread.php?threadid=513&highlight=symbolic+link>'what is a symbolic link?' (the question) was discussed here</A>
<P>
Fixed typo (thanks MIB!)
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Maxtor vs. OpenBSD

Can't setup OpenBSD 3.4 with Maxtor Diamond Plus 9 80Gb ATA/133 HDD... Install process stops at hardware initialize, before installing... :confused: Any Comments... Thanks (2 Replies)
Discussion started by: bsdave
2 Replies

2. BSD

Snort on openbsd

Im trying to gather some info to set up snort on openbsd 3.2, has anyone out there managed to get it up and running ? My initial attempts seem to be quite below par (4 Replies)
Discussion started by: malcontent
4 Replies

3. BSD

openbsd : cannot login

hi OK. I don't know exactly what I did to system! The system is OpenBSD 3.5. It is 200MMX, 16MB ram 1.2 + 2.4 GB HDD. The system was running well. But a few days ago I try to unpack a big tar.gz file and the system uses most the cpu and ram for this. While the system unpacking the file I try to... (4 Replies)
Discussion started by: fnoyan
4 Replies

4. BSD

OpenBSD security

OpenBSD is best OS in the world! - I'm talking about security :) After 10 years popularity in OpenBSD, was founded just!!!!!!!!!!!!! just one security hole! You can download OpenBSD from there . However, do you know a better OS? (1 Reply)
Discussion started by: zylwyz
1 Replies

5. BSD

setting up OpenBSD 4.0

ok these questions may be a little silly but I just started using OpenBSD as I came from Linux... 1. How do I make my desktop in X all snazzy like, I have wallpapers that need to be used. while I admit it will mainly be used for things I wont need a wallpaper for, you just never know :p, im... (4 Replies)
Discussion started by: Siphter
4 Replies

6. BSD

OpenBSD and wireless

I've just installed OpenBSD on my laptop (IBM Thinkpad T42) and since this is my first time with wireless networking in OpenBSD I'm a bit lost. What I would like to do is connect to a wireless network using WEP or WPA. Where do I place the key and essid? (3 Replies)
Discussion started by: Timmy66
3 Replies

7. BSD

RAIDing openbsd 4.2

Hello! Can anyone tell me how to make software RAID1 on openbsd 4.2. I try by some manuals but have no results.Maybe is somewhere good manual directly to openbsd 4.2 version? tnx (1 Reply)
Discussion started by: kasparens
1 Replies

8. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

9. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

10. BSD

OpenBSD pf problems

I am having troubles with this pf configuration, it seems when loaded nothing can access my server on the internal interface for the LAN, I cannot see why, and it's pretty much based off the very standard example in the OpenBSD faq. When I unload the configuration, I can access the DNS server on... (0 Replies)
Discussion started by: John Tate
0 Replies
MAKEWHATIS(8)                                                 System Manager's Manual                                                MAKEWHATIS(8)

NAME
makewhatis - index UNIX manuals SYNOPSIS
makewhatis [-aDnpQ] [-T utf8] [-C file] makewhatis [-aDnpQ] [-T utf8] dir ... makewhatis [-DnpQ] [-T utf8] -d dir [file ...] makewhatis [-Dnp] [-T utf8] -u dir [file ...] makewhatis [-DQ] -t file ... DESCRIPTION
The makewhatis utility extracts keywords from UNIX manuals and indexes them in a database for fast retrieval by apropos(1), whatis(1), and man(1)'s -k option. By default, makewhatis creates a database in each dir using the files mansection/[arch/]title.section and catsection/[arch/]title.0 in that directory. Existing databases are replaced. If a directory contains no manual pages, no database is created in that directory. If dir is not provided, makewhatis uses the default paths stipulated by man.conf(5). The arguments are as follows: -a Use all directories and files found below dir .... -C file Specify an alternative configuration file in man.conf(5) format. -D Display all files added or removed to the index. With a second -D, also show all keywords added for each file. -d dir Merge (remove and re-add) file ... to the database in dir. -n Do not create or modify any database; scan and parse only, and print manual page names and descriptions to standard output. -p Print warnings about potential problems with manual pages to the standard error output. -Q Quickly build reduced-size databases by reading only the NAME sections of manuals. The resulting databases will usually contain names and descriptions only. -T utf8 Use UTF-8 encoding instead of ASCII for strings stored in the databases. -t file ... Check the given files for potential problems. Implies -a, -n, and -p. All diagnostic messages are printed to the standard output; the standard error output is not used. -u dir Remove file ... from the database in dir. If that causes the database to become empty, also delete the database file. If fatal parse errors are encountered while parsing, the offending file is printed to stderr, omitted from the index, and the parse continues with the next input file. ENVIRONMENT
MANPATH A colon-separated list of directories to create databases in. Ignored if a dir argument or the -t option is specified. FILES
mandoc.db A database of manpages relative to the directory of the file. This file is portable across architectures and systems, so long as the manpage hierarchy it indexes does not change. /etc/man.conf The default man(1) configuration file. EXIT STATUS
The makewhatis utility exits with one of the following values: 0 No errors occurred. 5 Invalid command line arguments were specified. No input files have been read. 6 An operating system error occurred, for example memory exhaustion or an error accessing input files. Such errors cause makewhatis to exit at once, possibly in the middle of parsing or formatting a file. The output databases are corrupt and should be removed. SEE ALSO
apropos(1), man(1), whatis(1), man.conf(5) HISTORY
A makewhatis utility first appeared in 2BSD. It was rewritten in perl(1) for OpenBSD 2.7 and in C for OpenBSD 5.6. The dir argument first appeared in NetBSD 1.0; the options -dpt in OpenBSD 2.7; the option -u in OpenBSD 3.4; and the options -aCDnQT in OpenBSD 5.6. AUTHORS
Bill Joy wrote the original BSD makewhatis in February 1979, Marc Espie started the Perl version in 2000, and the current version of makewhatis was written by Kristaps Dzonsons <kristaps@bsd.lv> and Ingo Schwarze <schwarze@openbsd.org>. Debian May 17, 2017 MAKEWHATIS(8)
All times are GMT -4. The time now is 06:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy