SRI-CSL / OCCAM

OCCAM: Object Culling and Concretization for Assurance Maximization
BSD 3-Clause "New" or "Revised" License
26 stars 10 forks source link

`examples/portfolio/apache` linking error on Mac #22

Closed caballa closed 5 years ago

caballa commented 5 years ago

It cannot find libcrypt:

 ld: library not found for -lcrypt

Should we only run this program on Linux?

ianamason commented 5 years ago

No I think this used to work. I will look into it.

ianamason commented 5 years ago

This still builds for me, so it must be picking up a homebrew version of libcrypt.

If this is needed @caballa then we would have to either build openssl or install it.

One solution would be to include the openssl build from the openssh example. And use that. apache does not have explicit configure stuff for openssl so I guess we would have to use LDFLAGS.

Which route?

caballa commented 5 years ago

Sorry, apache builds without any problem. The linking error is when I try to build the slashed version (i.e., after I run OCCAM)