Actions
Bug #6337
closedRudder agent fails to build on Ubuntu 10.04 due to a buggy dh_shlibdeps
Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The symptoms are the same as in the ticket #6093: dh_shlibdeps bails out, not finding libcrypto.so.1.0.0
The reason is, we need to set a LD_LIBRARY_PATH explicitely to prevent fakeroot from setting its own and preventing dh_shlibdeps from operating properly.
Solution: LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/opt/rudder/lib:$${LD_LIBRARY_PATH}" before dh_shlibdeps (we keep the old path but append our own first)
Note: If we simply override the library path without keeping the old one, a lot of warnings arise as fakeroot cannot LD_PRELOAD libfakeroot-sysv.so...
Actions