Bug#503616: missing symbol sqrt
On Sun, 2 Nov 2008, Stéphane Glondu 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.
$ dpkg -l \*apache\* | grep ii
ii apache2 2.2.9-10 Apache HTTP Server metapackage
ii apache2-mpm-prefork 2.2.9-10 Apache HTTP Server - traditional non-threade
ii apache2-threaded-dev 2.2.9-10 Apache development headers - threaded MPM
ii apache2-utils 2.2.9-10 utility programs for webservers
ii apache2.2-common 2.2.9-10 Apache HTTP Server common files
ii libapache2-mod-ocamlnet 2.2.9-4 OCaml application-level Internet libraries -
ii libapache2-mod-php5 5.2.6-5 server-side, HTML-embedded scripting languag
$ ls /etc/apache2/mods-enabled
alias.conf auth_basic.load authz_default.load authz_host.load dir.conf mime.conf netcgi_apache.conf
alias.load authn_file.load authz_groupfile.load authz_user.load dir.load mime.load netcgi_apache.load
$ sudo /etc/init.d/apache2 start
Starting web server: apache2apache2: Syntax error on line 187 of
/etc/apache2/apache2.conf: Syntax error on line 1 of
/etc/apache2/mods-enabled/netcgi_apache.load: Cannot load
/usr/lib/apache2/modules/mod_netcgi_apache.so into server:
/usr/lib/ocaml/3.10.2/libcamlrun_shared.so: undefined symbol: sqrt
failed!
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.
Thanks,
Dave
Reply to: