Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

mix ecto.create on Fedora 30 and cannot find crti.o #38

@ghenry

Description

@ghenry

Hi all,

I'm trying to run this example and am getting:

~/src/elixir-phoenix-realworld-example-app [master*]$ mix ecto.create
==> comeonin
mkdir -p priv
cc -g -O3 -Wall -I/usr/lib64/erlang/erts-10.3.5.5/include -Ic_src -fPIC -shared  c_src/bcrypt_nif.c c_src/blowfish.c -o priv/bcrypt_nif.so
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:30: priv/bcrypt_nif.so] Error 1
could not compile dependency :comeonin, "mix compile" failed. You can recompile this dependency with "mix deps.compile comeonin", update it with "mix deps.update comeonin" or clean it with "mix deps.clean comeonin"
==> real_world
** (Mix) Could not compile with "make" (exit status: 2).
You need to have gcc and make installed. If you are using
Ubuntu or any other Debian-based system, install the packages
"build-essential". Also install "erlang-dev" package if not
included in your Erlang/OTP version. If you're on Fedora, run
"dnf group install 'Development Tools'".

I do have Development Tools installed and can see this:

ls -lh /usr/lib64/crti*
-rw-r--r-- 1 root root 1.8K Sep  4 20:48 /usr/lib64/crti.o

Any pointers?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions