Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly link with libm #445

Closed
wants to merge 1 commit into from
Closed

Conversation

dsilakov
Copy link

Without this, psycopg2 fails to compile on systems where "-lm" is not added by default.

Here is one of such examples, though discussion is in Russian:
http://forum.rosalab.ru/viewtopic.php?f=53&t=7272

@fogzot
Copy link
Member

fogzot commented Jun 28, 2016

You can't just add a library like that. What if it doesn't exists? If your build needs any extra libraries you should add them to setup.cfg: it exists exactly for that.

@fogzot fogzot closed this Jun 28, 2016
@fogzot fogzot added the invalid label Jun 28, 2016
@dsilakov
Copy link
Author

Ok. And what should we advise to users who want to install psycopg2 through pip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants