rejectedsoftware / vibenews

Combined web forum and NNTP server implementation for stand-alone newsgroups
GNU Affero General Public License v3.0
44 stars 3 forks source link

macOS - ld: library not found for -levent #36

Closed joelcnz closed 8 years ago

joelcnz commented 8 years ago

This is the error I get when it tries to run.

s-ludwig commented 8 years ago

Do you have libevent installed? vibe.d currently still needs it as its event loop (Instructions using Homebrew: https://github.com/rejectedsoftware/vibe.d/#additional-setup-on-mac-using-brew)

joelcnz commented 8 years ago

Now I get: ld: library not found for -lssl

What do I put for that?

s-ludwig commented 8 years ago

Hm, that's OpenSSL. I thought that this would be available by default, but maybe it's actually necessary to install Xcode. Using brew should be fine, too, though. Which OS X/macOS version do you have and do you have Xcode installed? Would be good to extend the instructions accordingly.

joelcnz commented 8 years ago

macOS 10.12

I have the latest Xcode installed, (I think DMD compiler needs it).

It says that I've already installed OpenSSL with home brew?!

s-ludwig commented 8 years ago

I had to repair/reinstall Homebrew after the upgrade to 10.12. Libevent also worked after that, but I had to add a workaround for -lssl, because Homebrew doesn't create the symlinks for system-wide installation for it anymore. It should work now when using the latest vibe.d master (will commit a dependency update for vibenews later this week).

joelcnz commented 8 years ago

Thanks s-ludwig.

s-ludwig commented 8 years ago

0.7.3 has been tagged now.