Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing on Ubuntu Server 14.10 #2

Closed
cschell opened this issue Feb 12, 2015 · 1 comment
Closed

Problem installing on Ubuntu Server 14.10 #2

cschell opened this issue Feb 12, 2015 · 1 comment

Comments

@cschell
Copy link

cschell commented Feb 12, 2015

Successfully ran cmake .:

$> cmake .
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /vmstorage/01/playground/xva-img-master

but the make install failed:

$> make install
[ 14%] Building CXX object CMakeFiles/xva-img.dir/src/sha1.o
/vmstorage/01/playground/xva-img-master/src/sha1.cpp:20:25: fatal error: openssl/sha.h: No such file or directory
 #include <openssl/sha.h>
                         ^
compilation terminated.
CMakeFiles/xva-img.dir/build.make:54: recipe for target 'CMakeFiles/xva-img.dir/src/sha1.o' failed
make[2]: *** [CMakeFiles/xva-img.dir/src/sha1.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/xva-img.dir/all' failed
make[1]: *** [CMakeFiles/xva-img.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2

Looks like there are problems with openssl?

@eriklax
Copy link
Owner

eriklax commented Feb 12, 2015

You need to install libssl-dev (openssl)

sudo apt-get install libssl-dev

I made the cmake command warn about that, e039b26

@eriklax eriklax closed this as completed Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants