---
title: "Discussion on \"Rust error: failed to custom build for `openssl-sys v*` linker `cc` not found\" | Hashnode"
description: "Discussion on \"Rust error: failed to custom build for `openssl-sys v*` linker `cc` not found\". solution is install openssl and pkg-config\n pacman -S openssl\n pacman -S pkg-config\nerror: linker cc not found\n|\n= note: No such file or directory (os error 2)\nrust compiler need cc , just install gcc can get rid of this error\npacman -S gcc"
url: "https://hashnode.com/posts/rust-error-failed-to-custom-build-for-openssl-sys-v-linker-cc-not-found/629252ee0989e6b52feafd1e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rust error: failed to custom build for \`openssl-sys v\*\` linker \`cc\` not found](https://dnrops.hashnode.dev/rust-error-failed-to-custom-build-for-openssl-sys-v-linker-cc-not-found?utm_source=hashnode&utm_medium=feed)

solution is install openssl and pkg-config pacman -S openssl pacman -S pkg-config error: linker cc not found | = note: No such file or directory (os error 2) rust compiler need cc , just install gcc can get rid of this error pacman -S gcc

May 28, 2022 · 1 min read · dnrops.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)

## Written by

[Andrew\_Ryan](https://hashnode.com/@dnrops)

@dnrops

  
[View profile](https://hashnode.com/@dnrops)

Rust Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
