Hi List,

i like to compile mapserver 5.0.2 with agg support on my amd64 bit
debian testing box.
I installed libagg-dev ( 2.5+dfsg1-1 )
If i run a "normal" configure without PHP mapscript mapserver compiles
without any error.
Whenever i include PHP Mapscript support (--with-php=/usr/local/php5) i
get the following error message: (PHP 5.2.2)

/usr/bin/ld: /usr/lib64/libagg.a(agg_arc.o): relocation R_X86_64_32
against `__gxx_personality_v0' can not be used when making a shared
object; recompile with -fPIC
/usr/lib64/libagg.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [php_mapscript.so] Fehler 1
make[1]: Leaving directory
`/usr/local/src/mapserver/mapserver-5.0.2/mapscript/php3'

Does anybody know what is going wrong?

gcc --version
gcc (GCC) 4.2.3 (Debian 4.2.3-2)

c++ --version
c++ (GCC) 4.2.3 (Debian 4.2.3-2)

Many thanks
Nicol

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to