Ponyc: Error installing on Fedora 23

Created on 14 May 2016  路  7Comments  路  Source: ponylang/ponyc

After installing LLVM from the distro, I discovered that install image doesn't come with gcc-c++ preinstalled and I got an error when compiling. My current issue is the following:

Linking libponyrt-pic gtest_main.cc gtest-all.cc Linking libgtest main.c Linking ponyc /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status Makefile:455: recipe for target 'build/release/ponyc' failed make: *** [build/release/ponyc] Error 1

Any ideas? Is there anything more you need from me?

Best,
Willem

All 7 comments

Per README:

You may need to install zlib, ncurses, pcre2, and ssl

In this case, that error appears to be that zlib isn't installed.

@willemneal once you figure out exactly what you have to install from base for Fedora, can you issue a PR against the README w/ Fedora specific instructions (yum commands and what not)

I indeed didn't have pcre2 installed, the first two are preinstalled and it couldn't find ssl, openssl is already installed though.

I am still, however, getting the same error.

So zlib is installed? The error is that ld can't find it.

Where is zlib installed?
What's it called?
Is the path to it in your linker path?

@willemneal you could also consider using the docker container. that might be easier for initially getting started.

Hey @SeanTAllen thanks for the help. I got it to work! All I needed was zlib-devel. I have kept notes and will update the READme soon.

Awesome. Thanks @willemneal.

Was this page helpful?
0 / 5 - 0 ratings