[Novalug] search path

shawn wilson ag4ve.us@gmail.com
Mon Feb 3 12:19:46 EST 2014


I guess the question is how do I figure out what program I'm running?
Or maybe why giving an absolute path is causing different results?

 % fwknop
                                 ~ swlap1
fwknop: error while loading shared libraries: libfko.so.0: cannot open
shared object file: No such file or directory
 % echo $PATH
                                 ~ swlap1
/home/swilson/.rvm/gems/ruby-2.0.0-p247/bin:/home/swilson/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/swilson/.rvm/rubies/ruby-2.0.0-p247/bin:/home/swilson/.rvm/bin:/home/swilson/perl5/perlbrew/bin:/home/swilson/perl5/perlbrew/perls/perl-5.16.2/bin:/home/swilson/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/android-sdk-update-manager/platform-tools
 % whereis fwknop
                                 ~ swlap1
fwknop: /usr/bin/fwknop /usr/bin/X11/fwknop /usr/local/etc/fwknop
/usr/share/man/man8/fwknop.8.gz
 % /usr/bin/fwknop
                                 ~ swlap1
Must use --destination unless --test mode is used



More information about the Novalug mailing list