Fossil SCM
unnecessary links to -lreadline -ldl
558c72bab65b449…
· opened 11 years, 9 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Minor
- Resolution
- Fixed
- Subsystem
- —
- Created
- June 21, 2014 7:44 p.m.
In generating the debian package of fossil 1.29, the build system coughed up the following warning:
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fossil/usr/bin/fossil was not linked against libreadline.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fossil/usr/bin/fossil was not linked against libdl.so.2 (it uses none of the library's symbols)
I manually invoked the linking command with -lreadline -ldl removed, and by gum it was right!
Either I'm missing some options I should be passing ./configure or something unnecessary is going on.
Cheers,
--Barak.
Comments (2)
In generating the debian package of fossil 1.29, the build system coughed up the following warning:
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fossil/usr/bin/fossil was not linked against libreadline.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fossil/usr/bin/fossil was not linked against libdl.so.2 (it uses none of the library's symbols)
I manually invoked the linking command with -lreadline -ldl removed, and by gum it was right!
Either I'm missing some options I should be passing ./configure or something unnecessary is going on.
Cheers,
--Barak.
Already fixed in 1.30, here: 23c54c0106