asdf-community / asdf-community/asdf-php

OpenSSL 3 on Ubuntu 22.04

Open
#129 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

I'm trying to install but I'm having problems with openssl.
Any suggestions?

`lsb_release -a`
```
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
```

`uname -a`
```
Linux xx 5.15.0-39-generic #42-Ubuntu SMP Thu Jun 9 23:42:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
```

`openssl version`
```
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
```

`asdf install php 8.1.7`
```
checking for OpenSSL support... yes
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for openssl >= 1.0.2... no
configure: error: Package requirements (openssl >= 1.0.2) were not met:

No package 'openssl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENSSL_CFLAGS
and OPENSSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `asdf install php 8.1.7` on Ubuntu 22.04 and reviewing the reported OpenSSL and pkg-config checks. Done means identifying a project-scoped resolution and confirming that the PHP installation completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system, tooling
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.