# BinaryBuilder.jl wizard -- No binary artifacts?

**URL:** https://discourse.julialang.org/t/binarybuilder-jl-wizard-no-binary-artifacts/23823
**Category:** Tooling
**Created:** [May 3, 2019, 5:18pm UTC](https://discourse.julialang.org/t/binarybuilder-jl-wizard-no-binary-artifacts/23823 "2019-05-03T17:18:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jmboehm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jmboehm/32/2263_2.png) [@jmboehm](https://discourse.julialang.org/u/jmboehm)
#### Post date: [May 3, 2019, 5:18pm UTC](https://discourse.julialang.org/t/binarybuilder-jl-wizard-no-binary-artifacts/23823/1 "2019-05-03T17:18:23Z")

</div>

I’m trying to create binaries for the [fastcluster](http://github.com/jmboehm/Fastcluster) library, which I would like to then wrap with a [wrapper that I’ve written](http://github.com/jmboehm/Fastcluster.jl). Unfortunately, I cannot get the wizard to find the shared library that’s the output from `make` and `make install` (but it’s there, really, and I can `ccall()` it on my OSX and Windows machines): I keep getting “The build has produced no binary artifacts”. I’ve tried using a manually written Makefile (the build is really trivial), and using autoconf, always with the same outcome. What am I doing wrong?

My makefile is this:

```julia
CC=gcc
CFLAGS=-I.
LDFLAGS = -lm

libfastcluster.so: fastcluster.o
	$(CC) -shared -fPIC -o libfastcluster.so fastcluster.o -lstdc++ $(LDFLAGS)

fastcluster.o: src/fastcluster.cpp
	$(CC) -fPIC -c src/fastcluster.cpp -o fastcluster.o

.PHONY: install
install:
	mkdir -p lib
	mv libfastcluster.so lib/libfastcluster.so

.PHONY: clean
clean:
	rm -f fastcluster.o

```

and the build process is just `make` and `make install`, or, when using autoconf, the standard `configure` before that.

I’ve noticed [https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/200](https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/200), but believe that this is different since it happens also when I install the output library in the `/bin` subfolder.

Thanks for any help.

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [May 3, 2019, 6:18pm UTC](https://discourse.julialang.org/t/binarybuilder-jl-wizard-no-binary-artifacts/23823/2 "2019-05-03T18:18:07Z")

</div>

The artifacts are expected to be in the `$prefix` directory. The `install` rule should copy the files there.

---

<div class="post-metadata">

### Author: ![jmboehm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jmboehm/32/2263_2.png) [@jmboehm](https://discourse.julialang.org/u/jmboehm)
#### Post date: [May 3, 2019, 7:06pm UTC](https://discourse.julialang.org/t/binarybuilder-jl-wizard-no-binary-artifacts/23823/3 "2019-05-03T19:06:58Z")

</div>

Thank you, that was exactly the piece of information that I was missing.
