Fossil SCM

unnecessary links to -lreadline -ldl

Closed

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)

anonymous 11 years, 9 months ago

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.

jan.nijtmans 11 years, 2 months ago

Already fixed in 1.30, here: 23c54c0106

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button