[SciPy-user] Installation on dual opteron ...

Arnd Baecker arnd.baecker at web.de
Tue Sep 27 07:03:32 CDT 2005


Hi,

On Tue, 27 Sep 2005, Brett Olivier wrote:

> Hi
>
> Try the options suggested in
>
> http://www.scipy.org/mailinglists/mailman?fn=scipy-user/2005-February/004066.html


Excellent - I have overlooked this one - it seems the ATLAS
(compile) part works now - *many* thanks!!

Now the next problem(s) come up:

I) building 'scipy.xplt.gistC' extension

/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching
for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching
for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

Could this arise because X11 was not compiled with -fPIC?
(is there any way to test this in some way ??)

(2) Moving the xplt dir out of the way (just a temporary
solution for me, as I will need xplt) leads to:

[...]
gcc: scipy_core/scipy_base/src/display_test.c
scipy_core/scipy_base/src/display_test.c:65: warning: initialization from
incompatible pointer type
gcc -pthread -shared -fPIC
build/temp.linux-x86_64-2.4/scipy_core/scipy_base/src/display_test.o
-L/usr/X11R6/lib -Lbuild/temp.linux-x86_64-2.4 -lX11 -o
build/lib.linux-x86_64-2.4/scipy_base/display_test.so
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching
for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching
for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared -fPIC
build/temp.linux-x86_64-2.4/scipy_core/scipy_base/src/display_test.o
-L/usr/X11R6/lib -Lbuild/temp.linux-x86_64-2.4 -lX11 -o
build/lib.linux-x86_64-2.4/scipy_base/display_test.so" failed with exit
status 1

Does this mean I should also build my own X11 for this machine?
If so, any recommendations for suitable flags?

Many thanks in advance for suggestions (and any cheering up as well ;-),

Arnd



More information about the SciPy-user mailing list