General :: What Versions Of G++ And Gcc Come Standard With RHEL 5.3
Feb 23, 2011
I ran into an issue that was written up here on LQ and/or on other sites, the one dealing with an error similar to the following one: error trying to exec 'cc1plus': execvp: No such file or directoryThe solution seems is to make g++ and gcc versions consistent. I've since remedied that, but am slightly confused with my findings and concerned with my solution.
When I first looked in /usr/bin for all references to g++ and gcc, I saw that there were two version of gcc and one version of g++:
(Note the "??? ?? ????" as date for gcc. I've since made some changes, but this was essentially the set of gcc and g++ files that existed before I started.)
I'm told that the system I'm using is an "out of the box" installation, i.e. no modifications. As installed, gcc is the newer version and does not correspond to g++34:
Confusion and concern: When I use makefiles from software I've adopted, I run into the cc1plus problem eluded to above. The cc1plus error occurred because the makefiles expected there to be a command named "g++," so I created a symbolic link, pointing /usr/bin/g++ -> /usr/bin/g++34. And in doing so, g++ was not consistent with gcc. I've since fixed that, i.e. copied the gcc34 version to gcc and my software builds fine.
My question are:
1. Will copying the gcc34 version to gcc cause issues in the future, possibly related to upgrades and/or istallations of other packages that rely on "gcc"? Currently the files are as follows:
2. Were the g++ and gcc files in /usr/bin the "out of the box" versions?
3. How can I answer a question like this in the future, without posting to LQ, i.e. is there a reference to find this type of information?
View 1 Replies
ADVERTISEMENT
Dec 19, 2009
I am basically very new to linux.. I have rhel 5.2 sever. while the system booting the following error had shown.
touch: can't touch '/var/lib/random-seed ; No such file or directory
chmod; can't access'/var/lib/random-seed ; No such file or directory
touch; can't touch '/var/log/wtmp ; No such file or directory
chgrp; can't access '/var/run/utmp; No such file or directory
[code]....
View 3 Replies
View Related
Apr 1, 2010
Kindly tell me Red Hat 3.4.4-2 and Red Hat 4 are same ????
View 2 Replies
View Related
Aug 1, 2011
My principle machine is Ubuntu 10.10 (x86_64) with gcc version 4.4.5, but I'd like to run the compiled/linked code from it on a RHEL server release 5.4 with gcc version 4.1.2.
Now, the error at runtime is "version 'GLIBCXX_3.4.9' is not found (required by ./executable)". The server has /usr/lib64/libstdc++.so.6.0.8, but seems to need at least .so.6.0.9. However, the admin of the server will not allow the libraries to be updated as "the entire system is tied to an older version of glibc and forcing an upgrade could break the entire system especially when making the jump across major revisions."
He recommended that I build the newer version of glibc in my home directory and link against the libraries, but didn't offer direction on how.
View 1 Replies
View Related
May 1, 2011
can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.
View 1 Replies
View Related
Dec 23, 2009
I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?
View 3 Replies
View Related
Jun 30, 2011
I'm not to clear on the difference between LTS versions and other versions, but think I may want to go with LTS. Can someone tell me if my thinking is correct given the following situation: I have some very cool, but very expensive software installed with a group license from my school, a school which I am not going to be attending for too much longer. So I want to go as long as possible without reinstalling Ubuntu, because once the product is licensed it will be licensed until I reinstall Ubuntu (or I uninstall the program). So I think this is going to require me keep the Ubuntu version I install as long as possible.
So in this case, should I go with 10.04LTS or should I just install Natty Narwhal and keep that as long as possible? It looks like 10.04LTS will be "supported" longer, but I'm not exactly clear on all that "supported" entails. Presumable it means security and software updates will be available for 10.04LTS for much longer than 11.x versions? So I'm thinking I should go with 10.04LTS
Is my thinking correct in going with 10.04LTS? Edit: It was pointed out that this would be against my contractual agreements. Which I suppose is probably true.
View 8 Replies
View Related
Feb 3, 2011
difference between rhel 5 and rhel 6 - basic difference.
View 3 Replies
View Related
Nov 18, 2009
i have old RHEL 3 system which has kernel 2.4 installed into it. I wasnt to upgrade it to RHEL 5.x so i downloaded a kernel 2.6 package but was not able to compile it.
View 1 Replies
View Related
Apr 12, 2011
I'm wondering if it's POSIX + ASCII or something else is mixed in?
View 1 Replies
View Related
Aug 9, 2011
I have a crontab that wgets a PHP page every five minutes (just to run some the PHP code), and I want to send the output to /dev/null. I couldn't find it in the wget manual.
I'm looking for something like:
wget -o stout http://whatever.com/page.php > /dev/null
View 4 Replies
View Related
Aug 23, 2010
Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?
View 6 Replies
View Related
Feb 9, 2010
[1st off...I used to host my music (A&R) website on a dedicated windows server...'cause I thought it was necessary for streaming .wma files. when I discovered it wasn't...I went w/ a standard hosting package, w/ GoDaddy...
BUT...
I moved my recording studio's site to it's own domain. [it used to be a series of pages on my A&R site.]
I now need to create a '301 Redirect' in my old site's directory to redirect surfers (who have my old url) to the new site...but more importantly...to retain my ranking w/ the major search engines...!
It cannot be done on a Windows server (which I'm on, w/ GoDaddy)...not an .htm redirect anyway, which I need. I've tried all the php, asp, etc. scripts...they don't work. [&...I don't think I really need windows features like php or asp...I code my site(s) in Dreamweaver as html pages.]
so...If I migrate my site(s) to a Linux server...
1) Will standard .wma streaming continue to work...? (i.e., a .wax file in the directory that points to the .wma).
2) Which type of server is FASTER for this task...(if any)...Linux or Windows...?
View 3 Replies
View Related
Apr 27, 2010
I'm trying to set the time in an embedded system ... There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin.Is there something I can try or do I just give up and make UTC be my timezone?
View 2 Replies
View Related
May 15, 2010
I am using Red Hat Enterprise Version 5. There is a ruby program which use standard input as its input (e.g. the Ruby program process input from standard input). I think standard input should be keyboard, correct?
So, I think other kinds of input (non-standard input) should not work (i.e. the ruby program should not be able to read input from such non-standard input), but actually I have tried using pipe works, I am so confused because I think pipe should be some other kinds of input -- other than standard input, why it could work? i.e. put text "123" in abc.txt with pipe, could achieve the same result as using keyboard as input to type "123" for the ruby program.
cat abc.txt | ~/test/rubysrc/foo.rb
View 4 Replies
View Related
Jan 10, 2011
I'm working on a SBC9261 board with touchscreen, running Linux 2.6.24./dev/ttyS0 is the standard output and /dev/tty0 is the console on the touchscreen.What I would like to do is to clone the standard output to the touchscreen, so the console would be displayed twice.
It would be like :
Code:
~ $ ./whatEverScript > /dev/tty0
but the output would also appear on /dev/ttyS0.
View 2 Replies
View Related
Oct 15, 2010
I'm working on a project that uses libdc1394 to interface with Point-Grey Firewire cameras. We build the code on Ubuntu 8, Timesys, and Ubuntu 9 primarily. We usually use the package manager for most dependencies on the Ubuntu's, and the Timesys installation seems to be compiled from source.
Now here's the part that confuses me. I can't figure out what version of libdc1394 is on the Timesys installation. Looking at the library files, I can find a file named libdc1394.so.20.0.0. But these are the header files that I have:
dc1394_control.h dc1394_register.h dc1394_vendor_avt.h
dc1394_conversions.h dc1394_utils.h
They're in a folder named dc1394. From what I see on the Ubuntu 8 package (which is libdc1394 version
1), I only see dc1394_control.h. And it's in a libdc1394 folder.
From what I see on the Ubuntu 9 computer, which uses libdc1394 version 2.2 (that's the version in the repository), I have a dc1394 folder and then an include directory that looks like the copy I find here:[URL]..
I can't find anything about a major change between version 2.0 and 2.2. From the sourceforge page, it looks like the 2.0 version is similar to the Ubuntu 9 version. it seems I have 3 different versions of the library? I understand why Ubuntu 8 and Ubuntu 9, but not why the copy that we have installed on Timesys is different.
Once again, I'm decently sure the one on Timesys was compiled from source. I wasn't around when they did that though, so I don't know for certain.
View 1 Replies
View Related
Jun 4, 2010
How can i install different versions of linux like ubundu,redhat etc in a pc and how it can be added in grub or lilo loader.widows is already installed
View 14 Replies
View Related
Jan 6, 2011
What I want to do is to find keyword in config file and change its value - that must be done using script.
I could write script usig awk and etc - but maybe there are already prepared ways/commands to change standard configure file setting?
View 1 Replies
View Related
Jan 10, 2010
I was wondering if there is an argument I can pass to the configuration file to have it use a library from a non-standard path to compile with - for example I would like it to use my perl located in /scratchbox/users/jeff91/usr/bin/perl instead of the standard /usr/bin/perl
View 3 Replies
View Related
Nov 29, 2010
I came across term as "standard root password control application"
I have no imformation over what are such applications how to implement them?
It was also suggested to audit root login .How would i go about it?
View 2 Replies
View Related
Jun 21, 2010
I know only Ubuntu that uses it. Are there others?
View 3 Replies
View Related
Jan 23, 2010
Do you know where I can get ISO's of older versions of debian. ver 2.2 ver 3 and 4
View 2 Replies
View Related
Apr 9, 2011
what the title mentioned expressions do? I googled it but all i find is weired useless quote pages (the internet is getting worse and worse it seems). Especially I would be interested in understanding what the difference between the unquoted and quoted versions of the same expression is, ie. $@ vs "$@".
View 5 Replies
View Related
Apr 16, 2010
Any wpc54g wireless adapter be converted to version 7.1 or 7.2 which should be wpa2 compatible?
View 1 Replies
View Related
Sep 20, 2010
I'm trying to set up a tool that emails me periodically (in my case, psad). It allows by default to define just a destination email for reports. Is there a general way to get this or similar tools to use a non-default SMTP server, with TLS? (e.g. gmail's SMTP)
View 1 Replies
View Related
Jan 28, 2011
Slipping some (non-root) user a piece of malignant code that he or she executes might be considered as one of the highest security breaches possible. (The only higher I can see is actually accessing the root user) What can an attacker effectively do when he/she gets a standard, (let's say a normal Ubuntu user) to execute code? Where would an attacker go from there? What would that piece of code do?
Let's say that the user is not stupid enough to be lured into entering the root/sudo password into a form/program she doesn't know. Only software from trusted sources is installed. The way I see it there is not really much one could do, is there?
Addition: I partially ask this because I am thinking of granting some people shell (non-root) access to my server. They should be able to have normal access to programs. I want them to be able to compile programs with gcc. So there will definitely be arbitrary code run in user-space...
View 2 Replies
View Related
Jan 22, 2011
The whole day was more or less spent reinstalling a basic Gnome Ubuntu system. Everything went swimmingly until I started with the XBMC part of the installation. After wrestling with PPAs and apt-get for hours I finally got it installed, but then it all turned awkward in a hurry. It simply refused to start up. I clicked the icon and nothing happened for a good few seconds. The screen then flickered black for an instant, but after that nothing. I started from a terminal and it showed an error message saying it couldn't import Python's os and shutil modules. I found that mighty strange since both modules are part of the Python Standard Library.
Finally, in a bizarre twist, it turns out this doesn't seem to be a XBMC problem, suddenly apt-get started complaining too. TL,DR: I (nor the system) can't import any Standard Library modules in Python in Ubuntu! Is this a path problem? Or have I actually managed to uninstall some vital python packages, if so which ones? I am running Ubuntu 10.10, but I don't think this is necessarily a Ubuntu specific problem. Here are some dumps to show the error messages: (I forgot to copy the XBMC error message, but it looked exactly the same as these below, i.e., it couldn't import the os module) First from apt-get:
Code:
tv@tv:/usr/lib$ sudo apt-get autoremove
[sudo] password for tv:
Reading package lists... Done
Building dependency tree
[code]....
View 1 Replies
View Related
Sep 28, 2009
I have on my windows machine several hundred files that are a format of .nc .ncs for a CNC machine. I need to convert them to txt which is something as easy as opening in notepad and then saving as .txt but there are so many that this kind of action would take way too long.
The reason I am writing the linuxquestions is because I would feel more comfortable in loading a live CD and using some sort of terminal command to do this than I would to download one of the many "freeware" type programs I have found for windows (even more so since I have had a root kit before and had to start all the way over to get rid of it).
I need to know:
1. Is this possible to do with the terminal without super advanced knowledge.
2. Can one please point me in the right direction; something to read or an example
View 2 Replies
View Related
Apr 26, 2010
I need to get the libstdc++.so.5 library ( on a computer with Fedora 8 and don't wonder why it's so ancient,-there is a good reason for it) but I don't have Internet access from that computer, so I can't get to the online repo's.
However, I do still have the installation disk, and I'm typing this from a computer (SuSE 10) that is half a meter from the Fedora box.
I tried the "ADD/REMOVE Software" option on the menu, but it keeps on looking for the online repo and then if it doesn't get it, it fails.
Is it possible to get this library from the installation disk. How? Could I download the single package from the online repo onto the SuSE machine and then move it to the Fedora machine? How do I then tell the Fedora machine to "incorporate" it.
View 2 Replies
View Related