POV-Ray : Newsgroups : povray.unix : Static compile on a ALPHA machine : Re: Static compile on a ALPHA machine Server Time
26 Jun 2024 03:38:51 EDT (-0400)
  Re: Static compile on a ALPHA machine  
From: Nicolas Calimet
Date: 8 Dec 2005 11:26:50
Message: <43985eca$1@news.povray.org>
> This error goes away when I remove the --disable-shared parameter to the
> configure script.

	So it is likely that one of the static library on your system is
broken, i.e. it was miscompiled somehow -- for instance it could be due
to buggy libtool or binutils.  I bet either (g)libc or stdlibc++ (coming
from gcc) is the cause.
	In the second case, try installing a newer gcc version, for instance
as non-priviledged user, before recompiling povray with it.
	In the first case, try updating* your libc.a (but NOT libc.so as that one
would potentially break everything).  Note that doing so is not recommanded and
should only be a matter to test whether glibc is the cause of your problem.
And if so, I'm afraid you'd better upgrade your whole system  :-(

	- NC

* As a non-privileged user, you can build a fresh glibc *without* installing it
in the usual system folders.  To link povray with it, it should be necessary
to pass the new library (with full path) to the linker; no need to recompile
povray, just linking.  To be on the safe side, it might also be necessary
to temporarly rename the system libc.a in order to avoid the linker to pick
that one by default.  Disclaimer: this is something I never tried by myself.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.