[Cartoweb-users] troubles with chameleon.so
WochteR
wochter at seznam.cz
Wed Feb 14 08:44:49 EST 2007
Hi,
I'd like to compile "chameleon.so" because wmsBrowser need it.
But with no success :-(
Can you help me please?
Here are my details:
uname -a
Linux wbook 2.6.17-11-generic #2 SMP Thu Feb 1 18:03:05 UTC 2007 x86_64
GNU/Linux
php5 -v
PHP 5.1.6 (cli) (built: Nov 2 2006 12:43:48)
gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release
x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)
And error message is:
gcc -shared chameleon.lo -Wl,--rpath -Wl,/usr/lib -Wl,--rpath
-Wl,/usr/lib -L/var/www/cartoweb/chameleon/ext/src -lchameleon
-L/var/www/cartoweb/chameleon/ext/port -lcpl /usr/lib/libxml2.so
-Wl,-rpath -Wl,/var/www/cartoweb/chameleon/ext/src -Wl,-rpath
-Wl,/var/www/cartoweb/chameleon/ext/port -Wl,-soname -Wl,chameleon.so -o
.libs/chameleon.so
/usr/bin/ld: /var/www/cartoweb/chameleon/ext/port/libcpl.a(cpl_error.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/var/www/cartoweb/chameleon/ext/port/libcpl.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status
make[1]: *** [chameleon.la] Chyba 1
make[1]: Leaving directory `/var/www/cartoweb/chameleon/ext/php'
Thank you very much.
wochter
~
More information about the Cartoweb-users
mailing list