LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2007, 07:04 PM   #1
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
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:
Code:
# grub-install --root-directory=/boot /dev/hda
the output is:
Code:
/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:
Code:
/usr/local/lib/liblzo2.so.2
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
Code:
# 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.
Help?
 
Old 02-26-2007, 09:42 PM   #2
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Original Poster
Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 02:01 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration