USM Bish >
> On Wed, Jun 19, 2002 at 07:41:52AM +0530, Dr. Sachin Kale wrote: > > > > I have come to conclusion that problem with gcc is more related to > > path variable than apr-get, becasue it says g++ command not found, > > when I logged in another user it said iostream not defined in same > > scope, not only that as a root on dpkg -i libstdc++ it said ldconfig > > Normally, for most distros g++ is in /usr/bin, whereas ldconfig is in > /sbin. Just do a 'echo $PATH' as an user (and root), and see if these > directories are along the path. (Note: /sbin is on root path only).If > the common paths are intact, problems may lie elsewhere. > > In case you find common dirs like /usr/bin, /usr/local/bin missing, > you can add them through /etc/profile with a line like: > > # Add to the default system $PATH: > PATH="$PATH:/usr/bin:/usr/local/bin" ... and so on > > It is possible that your gcc itself has been corrupted. See if g++ > and the progs returning not found error are on your box: Acutally after setting the LD_LIBRARY_PATH to /usr/include, gcc & g++ are working ok .... Thanks....... ~Sachin ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
