I made the recent change that moves the -ldl to the end of the link library list (http://fossil-scm.org/index.html/info/efbc319c32a38fab). However its effect should be rather trivial, just moving the -ldl to the end of the library list. Such check was there before, just the -ldl would be inserted afer -lm This altogether would matter for __static__ linking, in your case I understand you configured for dynamic linking.
So if your build was succeeding prior to this change, I'd be puzzled too. Could you share here the contents of config.log file from your fossil build directory? If possible, please make a fresh configure & build: ------ cd bld make distclean ../configure <whichever-options-for-your-build> ls config.log ls Makefile make ----- I assume it shoud fail again due to -ldl. So the config.log could shed some light on the results of testing for dl library. We'll see what the reason for the config check to incorrectly finding libdl on your platform. In case you just want to have it built, you may manually edit the generated Makefile and remove -ldl from the LIB line, supposedly it's not needed in your configuration. On Thu, Jul 12, 2018 at 4:29 PM, Jungle Boogie <jungleboog...@gmail.com> wrote: > Hi All, > > Since commit 9c38803597 I can't build fossil successfully: > > .o bld/linenoise.o bld/shell.o bld/th.o bld/th_lang.o bld/th_tcl.o > bld/cson_amalgamation.o -lfuse -lm -lssl -lcrypto -lz -ldl > /usr/bin/ld: cannot find -ldl > cc: error: linker command failed with exit code 1 (use -v to see invocation) > *** Error 1 in /home/jungle/fossil-repos/fossil (./src/main.mk:670 'fossil') > > Looks like there was only one minor change to the makemake.tcl file. I can > generate main.mk file without any issues: > tclsh makemake.tcl > building main.mk > building ../win/Makefile.mingw > building ../win/Makefile.dmc > building ../win/Makefile.msc > building ../win/Makefile.PellesCGMake > > Just compiling is failing. > > > Any clues? > > Thanks! > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users