View Single Post
Old 10-10-2012, 11:14 AM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
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?
twobob is offline   Reply With Quote