LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   gcc is not found in path (https://www.linuxquestions.org/questions/linux-desktop-74/gcc-is-not-found-in-path-502090/)

hiimsa 11-16-2006 12:25 AM

gcc is not found in path
 
hi all,

iam using debian customized version . in thiis when i write gcc on command line it gives me error " command not found" but when i check the package installation , gcc is installed in my system but i doesnt get the path .


what to do ...... any ide:confused: a

bhert 11-16-2006 05:55 AM

It is probably because you don't have the path to the libraries.
open up /etc/ld.so.conf with an editor and add something like /usr/lib , /usr/local/lib or wherever the libraries are at for your distro then
type ldconfig at the console

Hope I am right:)

-bhert

GNUlancer 11-16-2006 01:17 PM

To add gcc to your PATH, find it (find / -name gcc*), and add it's containing directory to your shell PATH in /etc/profile

apolinsky 11-16-2006 02:26 PM

You could also just type whereis gcc. Make sure the indicated library is in your path.

hiimsa 11-17-2006 04:24 AM

thanks all of you
 
Quote:

Originally Posted by apolinsky
You could also just type whereis gcc. Make sure the indicated library is in your path.

thanks for you kind help

i hope in future u also get back for my questiones.


All times are GMT -5. The time now is 09:17 PM.