duckdb / duckdb/duckdb-sqlite

Can't build on an M1/ARM Mac

Open
#80 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
291
Forks
45
Avg merge
10h 13m
Merged PRs (30d)
18

Description

### What happens?

I'm attempting to clone this repo to make changes. I cloned the repo, and initialized the duckdb submodule. When I run `make` it fails 82% of the way in building the parquet duckdb extension:
```
[ 82%] Built target tpch_loadable_extension
[ 82%] Linking CXX shared library parquet.duckdb_extension
Undefined symbols for architecture arm64:
"_parquet_init", referenced from:
-exported_symbol[s_list] command line option
"_parquet_version", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [extension/parquet/parquet.duckdb_extension] Error 1
make[2]: *** [extension/parquet/CMakeFiles/parquet_loadable_extension.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [release] Error 2
```

The same error occurs when I run `GEN=ninja make` as well.

### To Reproduce

Clone this repository, initialize the submodule, and run `make`

### OS:

Mac OS X

### SQLite Version:

Default

### DuckDB Version:

`main`

### DuckDB Client:

N/A

### Full Name:

Christopher Paika

### Affiliation:

Tesla

### Have you tried this on the latest `main` branch?

- [X] I agree

### Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

- [X] I agree

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.