It seems that /usr/local/bin is not in your default PATH on your remote server. You can test this with:
ssh [email protected] '(echo $PATH)' HTH, =Fen On Mon, Mar 7, 2016 at 5:04 PM, Pravin Goyal <[email protected]> wrote: > Hi All, > > It seems like a bug to me. I compiled openSCAP on a machine and then > installation went under /usr/local/bin. > > > When I try to do oscap-ssh to this target machine it says 'oscap command > not found'. It seems it is trying to look for '/usr/bin/oscap'. I linked > /usr/bin/oscap with /usr/local/bin/oscap and then it could recognize the > command but it complained "oscap: error while loading shared libraries: > libopenscap.so.8: cannot open shared object file: No such file or > directory". I have LD_LIBRARY_PATH set but I think it is again looking at > /usr/lib or something. > > > Has someone encountered it before? > > > Thanks and regards, > > Pravin Goyal > > _______________________________________________ > Open-scap-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/open-scap-list > -- Fen Labalme, CivicActions.com DevOps | Quality | Security mobile: 412-996-4113 github/skype/twitter: openprivacy
_______________________________________________ Open-scap-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/open-scap-list
