LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2004, 04:35 PM   #1
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182

Rep: Reputation: 30
Where do I put files so that linux can build / use them for rpm installation?


Hi, I am having a very frustrating problem where in one case I want to install an rpm and the other I want to build an rpm. In both cases it tells me that it requires a certain file, an example is one says that it needs "libglcore.so.1" for dependancy issues. They are both files that come from nvidia drivers and the thing is, I already have them on my computer. I believe that they are both in /usr/lib. Now why isn't linux seeing that I have them on my computer? Where I can link these files so that I can install and build my stuff? I am using mandrake 10 official but I don't think this is a distro specific question. Any help would be greatly appreciated. Thank you for your time.
-calimer
 
Old 07-23-2004, 04:53 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,388

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"one says that it needs "libglcore.so.1" for dependancy issues. They are both files that come from nvidia drivers and the thing is, I already have them on my computer. I believe that they are both in /usr/lib. Now why isn't linux seeing that I have them on my computer? "

The rpm command does not search your entire system for dependency files. It only looks in the rpm data base. If you did not install libglcore.so.1 using rpm then it will not be listed in the rpm data base. When you have a dependency that you are sure exists but is not in the rpm data base then you can install the new rpm using the --nodeps option. The rpm --nodeps -i command tells rpm to go ahead and install the rpm package regardless of what dependencies rpm may think are missing.


"Where I can link these files so that I can install and build my stuff? "

If you want to include the nvidia drivers in the rpm data base then you might be able to do that by using checkinstall. It depends on how close a nvidia driver compile procedure is to a standard compile procedure. Here is a thread on using checkinstall:

http://www.linuxquestions.org/questi...hreadid=181146

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 07-23-2004, 04:57 PM   #3
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182

Original Poster
Rep: Reputation: 30
I did forget to mention that I did install those files not from rpm, but from the standard nvidia bin file I think it was. So I can use the nodep thing for the rpm I want to install (I think I did try that actually, and I think the package still failed, but I can try again, I know I did get two versions of it) but what do I do about the rpm I want to build? The rpm I want to build is just the guarddog firewall source. I want to build it since guarddog doesn't seem completely compatable with the latest linux kernel. Thank you for your time and help.
-calimer
 
Old 07-23-2004, 06:18 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,388

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"what do I do about the rpm I want to build? The rpm I want to build is just the guarddog firewall source. I want to build it since guarddog doesn't seem completely compatable with the latest linux kernel. "

If you want to build a source rpm then you should use the rpmbuild command. I always use checkinstall and have never used rpmbuild so the best that I can do is point you to the rpmbuild man pages.

http://www.die.net/doc/linux/man/man8/rpmbuild.8.html

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 07-23-2004, 06:32 PM   #5
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182

Original Poster
Rep: Reputation: 30
I have used rpmbuild many times in the past without a problem but with this one it keeps asking for a file that is part of the nvidia driver package, that I have in /usr/lib. It keeps exiting the build because it can't find that file. I did try that other RPM that I was just trying to install using the --nodeps but it crashes because of some linking deal. The file is klineakconfig. Maybe I should be posting about each one of the build/install issues in seperate posts, but I was hoping there was a folder I could place links to these files where the RPM database would actually recognize their existence. Hopefully there is something I can do. Thank you for your time.
-calimer
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problems with pine rpm installation / build (mandrake) jjonas Linux - Software 0 07-01-2005 03:56 AM
RPM Files Installation mukeshprasad_a Linux - Software 4 10-31-2004 12:58 PM
Fedora 2 fresh installation - problem with rpm files Robstro Fedora 3 05-22-2004 05:27 PM
RPM build is changing part of it's source files areli Linux - Software 1 05-09-2004 03:34 PM
RPM installation files - the ultimate n00bie ?ion gowanstl27 Linux - Newbie 4 11-18-2003 09:30 PM

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

All times are GMT -5. The time now is 07:51 AM.

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