Pstress compilation fails with Percona Server compiled and release builds

Description

Tested with PS8.0.28 compiled debug build
Clone pstress and compile it with PS8.0.28

Compilation fails with this error

Observed the issue on Ubuntu Bionic, Debian 10 and CentOS 7.

We should not have the dependency on libperconaserverclient.a in Percona Server and it should be able to compile without this file. Pstress only requires the socket to make a connection to the database while running,

Environment

None

Smart Checklist

Activity

Rahul Malik May 24, 2022 at 9:39 AM

fix by adding linker flag -lresov

Done

Details

Assignee

Reporter

Time tracking

1d logged

Fix versions

Priority

Smart Checklist

Created May 20, 2022 at 7:47 AM
Updated March 6, 2024 at 5:53 PM
Resolved May 24, 2022 at 9:41 AM