I downloaded and compiled GRUB 2 1.95... It requires LZO decompression libraries (needed for boot images), which I downloaded, compiled and installed as well (2.02).
An example procedure to install GRUB would be:
# grub-install --root-directory=/boot /dev/hda
the output is:
/usr/local/bin/grub-mkimage: error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory
I know I am not missing that library, I am looking at it here:
How do I find out where GRUB looks for that library so I can link it or copy it there...
This shouldn't be that complicated but I even tried recompiling with using
# sh configure --libdir=/usr/local/lib
which tells it where the libraries are. The configure script sees them both ways, but after compiling and installing it cannot find them for some reason... odd.