Maarten Arits
Maarten Arits

Reputation: 180

Installing libcheck in fedora 26 but fails to link

I use libcheck in my C code for testing. I installed it using RPM (current version). In the folder /usr/lib64 i can find libcheck.so.0 and libsubunit.so.0. I did encounter however the following problems:

i'm not sure if i did something wrong during the installation or why this is going so terribly. Any advice?

Upvotes: 1

Views: 251

Answers (1)

Florian Weimer
Florian Weimer

Reputation: 33747

You need to install the check-devel package in addition to check. It contains both the header file in /usr/include and the .so library file which enables linking.

This is documented in various places, for example in the packaging guidelines.

Upvotes: 2

Related Questions