ddollar / heroku-buildpack-apt

120 stars 327 forks source link

/usr/bin/ld: final link failed: Bad value #28

Closed mspanc closed 8 years ago

mspanc commented 9 years ago

An attempt to compile certain libraries that rely on packages fetched by apt end up with /usr/bin/ld: final link failed: Bad value error.

It can be easily demonstrated on ffi gem if libffi is fetched by apt.

Steps to reproduce:

Log:

https://gist.github.com/mspanc/8907747d7a85d3b6aa72

Test app:

https://www.sendspace.com/file/byenws