-- Detected 32-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- GCC: SFMT enabled, SSE2 flags forced
-- GCC: All warnings enabled
-- Found ACE library: /usr/local/lib/libACE.so
-- Found ACE headers: /usr/local/include
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:49 (find_package)
Can't find my OpenSSL libraries when building trinitycore (but it finds the includes ). Here's the command I input -
cmake ../TrinityCore/ -DOPENSSL_LIBRARIES=/usr/lib64 -DOPENSSL_INCLUDE_DIR=/usr/include/openssl -DTOOLS=1 -DPREFIX=/home/lulz/server -DWITH_WARNINGS=1
I take it there must be some kind of syntax error here, because it's not looking in the location I tell it to. And I'm pretty sure those are the correct locations.
pics of the locations I was defining:
http://puu.sh/1ReR5
http://puu.sh/1RePr
I'm on CentOS 6.3 runnin' cPanel
(Correct righ?)
OpenSSL version:
http://puu.sh/1Rf66
So anyway, how do I make CMake look in lib64 for my OpenSSL files ! (Proofs of library location below v)
root@srv001 [~]# pkg-config --libs openssl
-Wl,-z,relro -L/usr/lib6464 -lssl -lcrypto -ldl -lz
root@srv001 [~]#
EDIT: Just tried installing this (http://www.openssl.org/source/openssl-1.0.0j.tar.gz) system-wide, and after installation, it still couldn't find the libraries. It has no issue with the includes though. Sigh.
Thanks,
Charlie