PS3 OpenSSL on PSDK3v2

Discussion in 'Homebrew Development' started by Zar, Oct 13, 2019.

  1. 804
    968
    147
    Zar

    Zar Developer

    Joined:
    Oct 15, 2014
    Messages:
    804
    Likes Received:
    968
    Trophy Points:
    147
    Hi,

    I found it here : https://github.com/zefie/ps3libraries

    Can it be compiled and installed in psdk3v2 ?

    I tryed to launch the script and it's not working on msys. Unfortunatly I don't understand how it works, so, i'm asking if someone already 'ported' it to this SDK ? or maybe if someone can help me to port it ...
     
    Algol, Kier_1234657 and STLcardsWS like this.
  2. 158
    48
    57
    Omage

    Omage Member

    Joined:
    Feb 23, 2015
    Messages:
    158
    Likes Received:
    48
    Trophy Points:
    57
    I try cygwin64 can compile,some scripts need fix
     
    STLcardsWS and Zar like this.
  3. 804
    968
    147
    Zar

    Zar Developer

    Joined:
    Oct 15, 2014
    Messages:
    804
    Likes Received:
    968
    Trophy Points:
    147
    I finally managed to compile it. It will be on github inside one of my repo... or maybe inside new one ;)
     
    STLcardsWS, sandungas and jcorrea like this.
  4. 185
    266
    97
    bucanero

    bucanero Developer

    Joined:
    Jun 29, 2019
    Messages:
    185
    Likes Received:
    266
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    I'll try to build it on macOS and see how it goes, probably the bash script will need some changes
     
    Algol likes this.
  5. 185
    266
    97
    bucanero

    bucanero Developer

    Joined:
    Jun 29, 2019
    Messages:
    185
    Likes Received:
    266
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    I tried on macOS and I'm getting an error on a <syslog.h> reference:

    crypto/bio/bss_log.c:45:11: fatal error: syslog.h: No such file or directory
    # include <syslog.h>


    I was checking and PSL1GHT doesn't seem to have a syslog header or lib. I'll have to check @Zar 's repos to see if I'm missing something.

    cheers
     
  6. 804
    968
    147
    Zar

    Zar Developer

    Joined:
    Oct 15, 2014
    Messages:
    804
    Likes Received:
    968
    Trophy Points:
    147
    Algol, Cypher_CG89 and bucanero like this.
  7. 185
    266
    97
    bucanero

    bucanero Developer

    Joined:
    Jun 29, 2019
    Messages:
    185
    Likes Received:
    266
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    oh, perfect! thanks for the help :encouragement: I compiled it on macOS with no issues using the "-DNO_SYSLOG" setting

    For the record, I could build the library using the patches and bash script from https://github.com/zefie/ps3libraries/blob/master/scripts/026-openssl.sh

    the only 2 needed changes to 026-openssl.sh
    line #76
    Code:
    ./Configure linux-ppc64 -DNO_SYSLOG \
    line #90
    Code:
    ${MAKE:-make} -j2 libcrypto.a
    ** in macOS you could change the line to ${MAKE:-make} -j$(sysctl -n machdep.cpu.core_count) libcrypto.a

    talking about libraries, I've recently ported the bzip2 library to PSL1GHT. It can be downloaded here:
    https://github.com/bucanero/psl1ght-libs/tree/master/bzip2
     
    Last edited: Oct 31, 2019
    DeViL303 and Algol like this.

Share This Page