Sponsored Content
Full Discussion: please help with openbsd 2.9
Top Forums UNIX for Dummies Questions & Answers please help with openbsd 2.9 Post 3120 by mib on Saturday 23rd of June 2001 03:41:14 AM
Old 06-23-2001
You can try two diff ways

1) ln -s `locate libc.so.26.2` /usr/lib/libc.so.26.2

this will locate libc.so.26.2 then create a sym link in /usr/lib.

2) Or add the path where "libc.so.26.2" resides by editing /etc/rc.conf (shlib_dirs= /path to/new lib )

this will add those path into 'rc.conf' file which specifies additional default directories (beyond the standard set) to be scanned by 'ldconfig' for shared libraries to include in the hints file used by the run-time linker '/usr/libexec/ld.so.' this is usefull if you have lots of shared libs in that dir.

In linux we do this by editing '/etc/ld.so.conf'



HTH


 

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
LDCONFIG(8)						     Linux Programmer's Manual						       LDCONFIG(8)

NAME
ldconfig - configure dynamic linker run-time bindings SYNOPSIS
/sbin/ldconfig [-nNvXV] [-f conf] [-C cache] [-r root] directory... /sbin/ldconfig -l [-v] library... /sbin/ldconfig -p DESCRIPTION
ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories, /lib and /usr/lib (on some 64-bit architectures such as x86-64, lib and /usr/lib are the trusted directories for 32-bit libraries, while /lib64 and /usr/lib64 are used for 64-bit libraries). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and filenames of the libraries it encounters when determining which versions should have their links updated. ldconfig will attempt to deduce the type of ELF libraries (i.e., libc5 or libc6/glibc) based on what C libraries, if any, the library was linked against. Some existing libraries do not contain enough information to allow the deduction of their type. Therefore, the /etc/ld.so.conf file format allows the specification of an expected type. This is used only for those ELF libraries which we can not work out. The format is "dirname=TYPE", where TYPE can be libc4, libc5, or libc6. (This syntax also works on the command line.) Spaces are not allowed. Also see the -p option. ldconfig should normally be run by the superuser as it may require write permission on some root owned directories and files. OPTIONS
-c fmt, --format=fmt (Since glibc 2.2) Cache format to use: old, new, or compat (default). -C cache Use cache instead of /etc/ld.so.cache. -f conf Use conf instead of /etc/ld.so.conf. -i, --ignore-aux-cache (Since glibc 2.7) Ignore auxiliary cache file. -l (Since glibc 2.2) Library mode. Manually link individual libraries. Intended for use by experts only. -n Process only the directories specified on the command line. Don't process the trusted directories, nor those specified in /etc/ld.so.conf. Implies -N. -N Don't rebuild the cache. Unless -X is also specified, links are still updated. -p, --print-cache Print the lists of directories and candidate libraries stored in the current cache. -r root Change to and use root as the root directory. -v, --verbose Verbose mode. Print current version number, the name of each directory as it is scanned, and any links that are created. Overrides quiet mode. -V, --version Print program version. -X Don't update links. Unless -N is also specified, the cache is still rebuilt. FILES
/lib/ld.so Run-time linker/loader. /etc/ld.so.conf File containing a list of directories, one per line, in which to search for libraries. /etc/ld.so.cache File containing an ordered list of libraries found in the directories specified in /etc/ld.so.conf, as well as those found in the trusted directories. SEE ALSO
ldd(1), ld.so(8) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. GNU
2017-09-15 LDCONFIG(8)
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy