Jump to content
TrinityCore

Sovereign

Plebs
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Sovereign

  1. That was the first thing I tried, then I thought the error stemmed from not telling it the correct location, so then I did that. But it just ignores it.

     

    And I do have CentOS 64bit as shown here: 
     
    root@srv001 [~]# uname -ar
    Linux 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    root@srv001 [~]#
    

     

    I have scoured the internet far and wide to try and solve this issue, so far I have found nothing that will work. Anymore insight from anyone would be fantastic; I will keep trying in the meantime.

     

    EDIT: I believe my issue must be related to this - http://www.trinitycore.org/f/topic/4718-cmake-openssl-errror/ - However, since I'm on Linux... sigh FYI: I have cmake 2.8.8-4 x64, and all it's dependencies are the x64 version.

     

    I could install 32bit version of OpenSSL, but I don't really want to fuck it up any further by mixing 32bit and 64bit.

     

    EDIT I (*$("!"% FIXED IT WITHOUT THE INTERNETS HELP - SOLUTION TO ALL OTHERS THAT MAY FIND THIS THREAD - 

     

    1. Delete build directory

    2. Input command

    3. Win

     

    (Problem was with CMake cache... somewhere along the way I installed shit that fixed my issue, then deleting the cache and redoing it fixed it)

     

    Suggest trying:

    Installing OpenSSL systemwide

    Checking CMake version

    Ensure all developer libraries have been installed (yum grouplist | grep Devel  - to find all dem groups )

    ???

    Staying calm

  2. 
    -- 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

×
×
  • Create New...