Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hello I am trying to setup a LAMP server for a friend but yum gives me an error: librpmbuild.so.0: cannot open shared object file: No such file or directory. This is on a fresh install of 32 bit version of the distro and I am using putty to remotely connect. I really don't want to reinstall linux so any help will be much appreciated.
what repos are installed ?
and HOW are you installing lamp
or are you building each package from source then making an rpm from that.
I still get the same error trying to run yum. I forgot to add prior to getting the specific error I get a message: "There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: librpmbuild.so.0: cannot open shared object file: No such file or directory." I don't know how clean the install was because my friend is the one who installed the distro. I tried to search for the librpmbuild.so.0 but I only found a similar files named:
I didn't know that a combined package was created for a LAMP installation. I was going to get each service installed one at a time once I get this issue with yum resolved. I also need AJAX installed as well but I have no idea where to get that service for Linux (I thought AJAX is only Microsoft). If someone can enlighten me that would be a real big help!
in my opinion building a server from scratch is the BEST way for the first 12 or so Apache installs . then AFTER you learn the ins and outs ,use the prepackaged to save about 30 min. to 2 hours install time.
in my opinion building a server from scratch is the BEST way for the first 12 or so Apache installs . then AFTER you learn the ins and outs ,use the prepackaged to save about 30 min. to 2 hours install time.
My friend is not going to like the idea of reinstalling Fedora but if it will save time I will have to try to convince him. Also if you can point me in the right direction of the combination install it would be a great help (and time saver). Thanks.
My friend is not going to like the idea of reinstalling Fedora but if it will save time
i did not say to REINSTALL the Fedora operating system or anything else .
using the already apache rpm's IS ONLY a time saver IF YOU ALREADY KNOW HOW TO CONFIGURE IT
If you do not already KNOW HOW to edit httpd.conf,php.ini.my.conf. IpTables ( the firewall) ,PhpMyAdmin, and the rest.
using the prebuilt will teach you NOTHING
and you will still NEED to learn what to edit and HOW to edit it.
=============================
i still do not know how you were tiring to install apache,myqsl,and php
that gave you this error " librpmbuild.so.0 " as missing ????
If one of the python programs used by yum didn't install properly, try a yum reinstall yum if you can. If not, download the yum RPM "by-hand" from the repositories and reinstall it with the rpm command.
Another alternative is to grab the smart package manager RPM file from the Fedora repository, install it with rpm, and use it to reinstall yum. (The smart package is a little more sophisticated then yum about resolving problems, but the default install on Fedora ignores the mirror repository sites. But it's handy to have installed when yum goes "bonkers.")
If one of the python programs used by yum didn't install properly, try a yum reinstall yum if you can. If not, download the yum RPM "by-hand" from the repositories and reinstall it with the rpm command.
Another alternative is to grab the smart package manager RPM file from the Fedora repository, install it with rpm, and use it to reinstall yum. (The smart package is a little more sophisticated then yum about resolving problems, but the default install on Fedora ignores the mirror repository sites. But it's handy to have installed when yum goes "bonkers.")
Ok now rpm gives me the same error: "rpm: error while loading shared libraries: librpmbuild.so.0: cannot open shared object file: No such file or directory." At this point I don't know what is wrong. The only Linux distros I am familiar with are ubuntu flavors and I used apt-get for everything. I assume that yum is similar to apt-get and I never have these such problems using that command.
Like I have said before I did not install this distro. My friend said he has the installation CD in the drive, so can I just mv the files back into /lib ?
Quote:
Originally Posted by John VV
=============================
i still do not know how you were tiring to install apache,myqsl,and php
that gave you this error " librpmbuild.so.0 " as missing ????
All I did was run the command yum to try to install the services. At this point I really think my friend botch the install of Fedora or installed some other apps/services without consent.
If you're familiar with apt, check the CD to see if the apt RPM file is on it.
Wait, though: You're saying the the rpm command itself is failing. That's more serious, almost fatal.
Can you download and unpack the rpm.rpm file (from the Fedora repository) on your system? (I think the Ubuntu repositories include the RPM tools.) If so, you could see if you could then copy the Python files to your friends system.
Another thing you could do (since the CD - or, hopefully, it's a DVD - is in the drive) is compare the md5sum of the DVD with the published value. If they're different, the DVD is (presumably) bad and a reinstall from a good DVD is needed. (Your friend should have run the "verify before install" option when he did the install, but it's not the first option in the install options list.)
Last edited by PTrenholme; 09-26-2009 at 09:42 AM.
Thanks for all the help but I told my friend about the issues I have encountered. He said that he is going to install centOS distro instead Fedora. I wonder what could have cause the yum/rpm command to go haywire like it did. Before the system went offline I was trying to use the man pages and found I couldn't access that either because of a missing file: "libstdc++.so.6" It is my conclusion that something is awry with that install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.