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
UTIL(3) 						   BSD Library Functions Manual 						   UTIL(3)

NAME
util, libutil -- system utilities library LIBRARY
System Utilities Library (libutil, -lutil) DESCRIPTION
The util library is the system utilities library and contains various system-dependent utility routines used in a wide variety of system dae- mons. The abstracted functions are mostly related to pseudo-terminals and login accounting. These routines are NetBSD-specific and are not portable. Their use should be restricted. Declarations for these functions may be obtained from the include file <util.h>. The util library and the associated functions are imple- mented within the /usr/src/lib/libutil directory. LIST OF FUNCTIONS
Name Description disklabel_dkcksum(3) compute the checksum for a disklabel disklabel_scan(3) scan a buffer for a valid disklabel forkpty(3) tty utility function getbootfile(3) get the name of the booted kernel file getlabeloffset(3) get the sector number and offset of the disklabel getlabelsector(3) get the sector number and offset of the disklabel getmaxpartitions(3) get the maximum number of partitions allowed per disk getrawpartition(3) get the system ``raw'' partition login(3) login utility function login_cap(3) query login.conf database about a user class login_close(3) query login.conf database about a user class login_getcapbool(3) query login.conf database about a user class login_getcapnum(3) query login.conf database about a user class login_getcapsize(3) query login.conf database about a user class login_getcapstr(3) query login.conf database about a user class login_getcaptime(3) query login.conf database about a user class login_getclass(3) query login.conf database about a user class login_tty(3) tty utility function loginx(3) login utility function logout(3) login utility function logoutx(3) login utility function logwtmp(3) login utility function logwtmpx(3) login utility function opendisk(3) open a disk partition openpty(3) tty utility function pidfile(3) write a daemon pid file pidlock(3) locks based on files containing PIDs pw_abort(3) passwd file update function pw_copy(3) utility function for interactive passwd file updates pw_edit(3) utility function for interactive passwd file updates pw_error(3) utility function for interactive passwd file updates pw_getconf(3) password encryption configuration access function pw_getprefix(3) passwd file update function pw_init(3) utility function for interactive passwd file updates pw_lock(3) passwd file update function pw_mkdb(3) passwd file update function pw_prompt(3) utility function for interactive passwd file updates pw_scan(3) utility function for interactive passwd file updates pw_setprefix(3) passwd file update function secure_path(3) determine if a file appears to be ``secure'' setclasscontext(3) query login.conf database about a user class setusercontext(3) query login.conf database about a user class snprintb(3) bitmask output conversion sockaddr_snprintf(3) socket address formatting function strpct(3) decimal percent formatter ttyaction(3) ttyaction utility function ttylock(3) locks based on files containing PIDs ttymsg(3) ttymsg utility function ttyunlock(3) locks based on files containing PIDs FILES
/usr/lib/libutil.a static util library /usr/lib/libutil.so dynamic util library /usr/lib/libutil_p.a static util library compiled for profiling SEE ALSO
efun(3), intro(3) BSD
August 29, 2011 BSD
All times are GMT -4. The time now is 10:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy