View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#82
Code:
ln -s "$CHROOT/usr/lib/browser/plugins/libflashplayer.so" "$CHROOT/usr/lib/libflashplayer.so.0"
ln -s "$CHROOT/usr/lib/browser/plugins/libflashplayer.so" "$CHROOT/usr/lib/libflashplayer.so"
...
Code:
ln -s "libflashplayer.so" "$CHROOT/usr/lib/libflashplayer.so.0"
ln -s "$CHROOT/usr/lib/browser/plugins/libflashplayer.so" "$CHROOT/usr/lib/libflashplayer.so"
Would seem easier.. and those LN commands work?? it seems to me the link will be created to point to /debian/usr/lib... which inside the debian chroot would not exist... I think these might work better???

Code:
ln -s "libflashplayer.so" "$CHROOT/usr/lib/libflashplayer.so.0"
ln -s "/usr/lib/browser/plugins/libflashplayer.so" "$CHROOT/usr/lib/libflashplayer.so"
...
ln -s "/usr/lib/libosso.so.1.3.0" "$CHROOT/usr/lib/libosso.so.1"
Remember ln -s doesn't need a full path to an actual file when you do it.. it's not like cp.. inside the chroot the above will be /usr/lib/browser/plugins/libflashplayer.so .. which is correct.. creating a ln to $CHROOT/usr/lib.. inside the chroot will be /debian/usr/lib... which doesn't seem right..

But I'm probably overlooking something..

ETA: That was confusing.. I need to rephrase.. my understanding is the first parameter you pass to ln -s is the path you want the link to show.. not the path to the file as relative to you.. IE:

ln -s ../../lib/libdude.so /usr/lib/libdude.so.1

would actually try linking to a file on /lib/libdude.so.. regardless of where you were at when you created the link.. the ../ would be relative to where the link file itself (/usr/lib/libdude.so.1) sits.. so linking to $CHROOT/ as relative to the link itself would link to /debian/ which would be a broken path inside the debian root.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!

Last edited by fatalsaint; 2008-09-09 at 21:53.
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post: