|
|
Mark Gordon <mtg### [at] povrayorg> wrote:
> For the case where someone on a machine with X libraries wants to build
> a statically linked binary to run on a machine without X libraries.
> The workaround currently is static linking.
I don't know if this is related, but be aware that using "-static" for
static linking in Solaris causes a linkage error. For some reason the X
libraries in Solaris are not designed for static linking (perhaps they
could be built so that they are, but they aren't here, and I have read
reports of the same issue from other people as well).
This is a very nasty problem because the error message produced by
the linker is extremely confusing and there's absolutely no hint about
the real cause of the problem (ie the '-static' flag). Finding the cause
of the problem is really difficult if you don't know about it.
So at least for Solaris the '-static' flag should definitely be turned
off by default.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|