Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFYn=yCF8QTib6+YgodTUwhj-pu374NRpb75T6vvuwjSdZ2nVg@mail.gmail.com>
Date: Wed, 3 Jul 2013 19:10:01 -0400
From: Yaniv Sapir <yaniv@...pteva.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: bcrypt

Katja,

At the minimum, you'd need to do:

sudo -E LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./john ...

and make sure that the correct EPIPHANY_HDF and EPIPHANY_HOME variables are
set in the shell.

Yaniv.


On Wed, Jul 3, 2013 at 7:03 PM, Katja Malvoni <kmalvoni@...il.com> wrote:

> Hello,
>
> After make succeeded, I was getting errors when executing ./john -test
> -format=bcrypt-parallella. First this one: "Program must be invoked with
> superuser privilege (sudo).", and when using sudo: "./john: error while
> loading shared libraries: libe-hal.so: cannot open shared object file: No
> such file or directory".
> Lukas suggested creating parallella_john.sh file in run directory and run
> it using that file.
>
> parallella_john.sh:
> #!/bin/bash
> set -e
>
> ESDK=${EPIPHANY_HOME}
> ELIBS=${ESDK}/tools/host/lib:${LD_LIBRARY_PATH}
> EHDF=${EPIPHANY_HDF}
>
> sudo -E LD_LIBRARY_PATH=${ELIBS} EPIPHANY_HDF=${EHDF} ./john $1 $2
>
>
> This works, although test fails because of bug in my code. Is there
> another way to make this work without using separate file, environment
> variables and sudo? I guess this has to be used because there is no driver
> for Parallella?
> I know that HDF path can be passed as argument to e_init() but I don't
> think that's good idea.
>
> Best regards,
>
> Katja
>



-- 
===========================================================
Yaniv Sapir
Adapteva Inc.
1666 Massachusetts Ave, Suite 14
Lexington, MA 02420
Phone: (781)-328-0513 (x104)
Email: yaniv@...pteva.com
Web: www.adapteva.com
============================================================
CONFIDENTIALITY NOTICE: This e-mail may contain information
that is confidential and proprietary to Adapteva, and Adapteva hereby
designates the information in this e-mail as confidential. The information
is
 intended only for the use of the individual or entity named above. If you
are
not the intended recipient, you are hereby notified that any disclosure,
copying,
distribution or use of any of the information contained in this
transmission is
strictly prohibited and that you should immediately destroy this e-mail and
its
contents and notify Adapteva.
==============================================================

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.