On Sat, Aug 24, 2024 at 6:44 AM Jafar Sarif <sapan76...@gmail.com> wrote:

> I am writing to seek assistance with compiling SIPp to enable TLS support.
> I have successfully installed SIPp but encountered difficulties when
> attempting to compile it with TLS support.
>
> *Issue* *Details:*
>
> Current Installation: I have SIPp version 3.3 installed, but it was
> compiled without TLS support.
>
> OpenSSL Installation: I have confirmed that OpenSSL is installed and
> working correctly on my system. The OpenSSL libraries and headers are
> available, and I have verified their installation with the following
> commands:
>
> 1. *openssl* *version* shows:
> OpenSSL 1.1.1k FIPS 25 Mar 2021
>
> 2. The headers are present in /*usr/include/openss*
>
> 3. The libraries are located in /*usr/lib*, including *libssl* and
> *libcrypto*
>
>
> *Compilation Attempt:*
>  I set the environment variables for OpenSSL:
>
> *export CFLAGS="-I/usr/include/openssl"*
>
> *export LDFLAGS="-L/usr/lib -lssl -lcrypto"*
>
> After setting these variables, I ran *make* *clean* followed by *make* in
> the SIPp directory, but the issue persists.
>
> *Error Message:* When I attempt to use TLS with SIPp, it gives the
> message: “To use a TLS transport you must compile SIPp with OpenSSL.”
>
> Request:
>
> I would appreciate any guidance or steps to ensure that SIPp is compiled
> correctly with TLS support. If there are specific steps or configurations
> needed to resolve this issue, please let me know.
>
> Thank you for your assistance.
>
>
Hi,
I think you skipped the instruction from
https://github.com/SIPp/sipp?tab=readme-ov-file#building
There is no need to export such variables.
SIPp is built using cmake so you should do something like:

cmake . -DUSE_SSL=1
make
make install
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to