[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504348: libcamlrun_shared: should be linked with -lm, -ldl, etc.



forwarded 504348 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504348
thanks

[NOTE: bug cloned, reopened and reassigned to ocaml]

Julien Cristau wrote:
> Why do we care?  The proper fix is easy enough, just add -lm to the
> linker command line (libcamlrun_shared.so seems to also reference
> symbols from ncurses for the terminfo stuff and from libdl, it might be
> a good idea to link it against those too, or make sure they're not
> actually needed).

Granted. I guess adding $(BYTECCLIBS) (which is "-lm  -ldl -lcurses
-lpthread" on my system) at the right place in camlrun_shared.dpatch
should be enough.

Since that patch has been merged in upstream, I also notice them.


Cheers,

-- 
Stéphane





Reply to: