Roman A. Taycher
Roman A. Taycher

Reputation: 19505

Finding what library files I need to include for the implementation of a particular c header

How do I find what library files I need to include for the implementation of a particular c header if there is not library with the same name?

Upvotes: 1

Views: 81

Answers (1)

John Zwinck
John Zwinck

Reputation: 249642

I'd Google for the name of the header or the functions within it.

If you're on a Debian-based system you could also try dpkg -S <full header path> to tell you what package provided the header, then see what other files (in /usr/lib) that same package provides.

Upvotes: 1

Related Questions