LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   After Using "make install": can't launch program! (https://www.linuxquestions.org/questions/linux-software-2/after-using-make-install-cant-launch-program-334215/)

sammykrupa 06-16-2005 10:33 AM

After Using "make install": can't launch program!
 
I am trying to install a program using the "make distclean" command, then the "make" command, then the "make install" command. After all of that I type "ndiswrapper" (name of the program) and I get a message saying that the command does not exist. What's wrong?!?

Thanks!
Sam Krupa :cry:

druisgod 06-16-2005 10:47 AM

Check to see if the program is in your path. Either do a

'slocate ndiswrapper' or a 'find / -name "ndiswrapper" -print' (single-quotes excluded)

the installation location of the actual binary might not be in your path. Once you find the binary, either run it using the full path, ex

/usr/sbin/ndiswrapper (if that is where it was found with the above commands)

or add the directory that it is found to your path.

PATH=$PATH:/usr/sbin

export PATH

What the path variable does, in case you don't know, is to set up the search directories to locate the binary. For example, when you just put ndiswrapper on the command line and hit enter, it by default checks the directories listed under the path variable for that binary. If you path was /bin:/usr/bin:/home/bin it wouldtry to find /bin/ndiswrapper then if not there find /usr/bin/ndiswrapper, etc . . .


~ Druisgod

sammykrupa 06-16-2005 10:59 AM

Bless you! Bless you! Thank you!!!

Kilahchris 06-16-2005 11:43 AM

how do you permanetly set a the path directory. It seems to only work in the terminal after you

export path


and how would i permantely set a LD_LIBRARY_PATH???

druisgod 06-16-2005 01:59 PM

Put the whole path command in /etc/profile for global change, .profile for user change.

to update ld_library_path just type as root on the command line 'ldconfig' or /sbin/ldconfig.


~druisgod


All times are GMT -5. The time now is 11:12 AM.