asdf-community / asdf-community/asdf-php

[Ubuntu 20 (wsl2)] Cannot find libpq-fe.h

Open
#133 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
256
Forks
117
PR merge metrics
No merged PRs in 30d

Description

```
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
```

I'm still experiencing #99 on master. Shouldn't this be fixed by #102 already?

This command fixes it, however shouldn't we be able to run it without the var?
```
PHP_WITHOUT_PDO_PGSQL=yes asdf install php
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named in the issue. Start by reproducing the Ubuntu 20/WSL2 failure with `asdf install php ` and compare it with the `PHP_WITHOUT_PDO_PGSQL=yes` workaround, then review issues #99 and #102. Done means PHP installation can locate `libpq-fe.h` without requiring that environment variable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, postgresql, shell, ubuntu
Domain
build-system, databases, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.