1) find what you want to link against
[root@kindle awesome]#
find / -iname '*'"libcrypto"'*'
Quote:
/usr/lib/libcrypto.so.1.0.0
/usr/lib/libcrypto.so
/mnt/us/usr/lib/libcrypto.so.1.0.0
/mnt/us/usr/lib/libcrypto.so
|
2) read
ln help
Quote:
[root@kindle awesome]# ln -h
Usage: ln [OPTIONS] TARGET... LINK|DIR
Create a link LINK or DIR/TARGET to the specified TARGET(s)
Options:
-s Make symlinks instead of hardlinks
-f Remove existing destinations
-n Don't dereference symlinks - treat like normal file
-b Make a backup of the target (if exists) before link operation
-S suf Use suffix instead of ~ when making backup files
|
so we
probably want a soft link
3) cd to the folder you want the link to live in
[root@kindle awesome]#
cd /usr/lib
[root@kindle lib]#
4) make root writable
mntroot rw
5) make link
ln -s /usr/lib/libcrypto.so.1.0.0 libcrypto.so.0.9.8
4) make root read only
mntroot ro
That kind of thing?