-   Linux - Software (
-   -   installing GRUB 2, grub-install problem (

r00tb33r 02-26-2007 07:04 PM

installing GRUB 2, grub-install problem
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: 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.

r00tb33r 02-26-2007 09:42 PM

Can someone please smack me on the face? No really.
Anyway I forgot to run ldconfig after installing the libraries... What a bummer.
I am done here.

All times are GMT -5. The time now is 04:45 AM.