Bug#503616: missing symbol sqrt
On Sun, Nov 2, 2008 at 23:38:26 +0100, Stéphane Glondu wrote:
> Dave Benjamin wrote:
> >> Maybe your system is not up-to-date w.r.t other (non-OCaml-related)
> >> packages? Or there is some bad interaction with another Apache module?
> >
> > I upgraded all of my Apache 2 packages to the latest versions and
> > disabled every module, re-enabling them one-by-one until I could get
> > Apache to start up again. Enabling netcgi_apache breaks it as usual.
>
> Did you upgrade completely your system? Your system should be fully
> up-to-date, at least w.r.t. testing.
>
> > I also tried apache2-mpm-worker and apache2-mpm-event - same problem. In
> > all cases, libm was missing in the output of ldd /usr/sbin/apache2.
>
> Could you give the new output?
>
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).
Cheers,
Julien
Reply to: