Linux Perforce with SSL

Hi,

Linux is still missing SSL support for Perforce.

To work with the Perforce 2018.1 version it needs the older 1.0.1s OpenSSL libraries attached to the Perforce libraries to successfully compile.
Another possibility would be probably to compile Perforce to work with the newer 1.1.1 OpenSSl version that is default in Unreal 4.26.

Cheers

I’ve talked to the Perforce support and they have supplied me their OpenSSL 1.1.1 binaries for Linux.

http://ftp.perforce.com/perforce/r20.2/bin.linux26x86_64/p4api-glibc2.3-openssl1.1.1.tgz

Adding them and changing the Perforce.Build.cs and PerforceVersionControl.Build.cs
worked to get SSL working with Perforce on Linux.

As this is a quick and easy fix, I hope you consider adding this to your engine for good!

Hi! Thanks for your contribution.

First I placed the downloaded directory under “Engine/Source/ThirdParty/Perforce” and then I made some changes in Perforce.Build.cs to point to the added directory when building for linux.

Unfortunately I’m having a bunch of errors when trying to compile because a file called “libp4sslstub” is missing in the new folder and those errors remains even if I don´t add this file in Perfoce.Build.cs.

  • What did you do to include the file “libp4sslstub”?
  • Where is the file PerforceVersionControl.Build.cs?
  • Can you upload any screenshots showing your configuration?

Thank you very much!

BTW. I’m using Ubuntu 22 and UE5.0.3