I've seen this problem on Mesa 3.0 and MesaLib 3.1beta3 on
Solaris applications using the Mesa shared library (-sl) target.

At runtime:

% myprog
ld.so.1: origami: fatal: relocation error: file 
/usr/local/MesaLib-3.1beta3/lib/libGL.so.1: symbol pow: referenced symbol not found
Killed

Please add -lm to the sunos5 shared library targets.

This worked for me but I'm not sure if it's the right place in Mesa.

% cd bin; diff mklib.sunos5{-orig,}
36c36
< ld -G -o $LIBRARY $OBJECTS
---
> ld -G -o $LIBRARY $OBJECTS -lm


Adding -lm to myprog didn't seem to help.
Adding -lm to the Make-config sunos5*-sl XLIBS macros didn't
seem to help either.

Thanks,

Ron


_______________________________________________
Mesa-bug maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to