I was trying to get GalleryRemote installed today on my Linux installation (because for obscure reasons, using the java applet in gallery directly crashes my browsers), which wouldn’t run. Attempting to run the installer gave obscure errors like:
awk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
A quick search led me to see that the problem was related to the variable
LD_ASSUME_KERNEL being set, causing libc6 to fail loading its libraries.
So, the process to get it up and running is:
- download GalleryRemote (non-vm)
- run this in the directory where you downloaded it:
$ cp GalleryRemote.1.5.Linux.NoVM.bin GalleryRemote.1.5.Linux.NoVM.bin.orig
$ cat GalleryRemote.1.5.Linux.NoVM.bin.orig | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > GalleryRemote.1.5.Linux.NoVM.bin
- install GalleryRemote
- run this in the directory where you installed it:
$ cp Gallery_Remote Gallery_Remote.orig
$ cat Gallery_Remote.orig | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Gallery_Remote
Now you should be all set to use GalleryRemote!