On Tue, Jul 23, 2013 at 12:18 PM, Bruno L. Amadio Caires <
br...@ft.unicamp.br> wrote:
> Hi
>
> I am trying install scipy on AIX 6.1 power7, I saw how to install here
> https://sourceforge.net/mailarchive/forum.php?thread_name=4EFB7DC6.6020805%40ucar.edu&forum_name=matplotlib-devel
>
> But I got this error:
> *
> **bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # xlC -ma
> -I/opt/freeware/include -DAIX_GENUINE_CPLUSCPLUS -Wl,-brtl
> -bI:/opt/freeware/lib/python2.6/config/python.exp -qcpluscmt -qmkshrobj
> build/temp.aix-6.1-2.6/src/agg_py_transforms.o
> build/temp.aix-6.1-2.6/src/_tkagg.o
> build/temp.aix-6.1-2.6/CXX/IndirectPythonInterface.o
> build/temp.aix-6.1-2.6/CXX/cxx_extensions.o
> build/temp.aix-6.1-2.6/CXX/cxxsupport.o
> build/temp.aix-6.1-2.6/CXX/cxxextensions.o -LI:/usr/lib/libtcl8.4.exp
> -LI:/usr/lib/libtk8.4.exp -L/usr/local/lib -L/usr/local/lib64
> -L/opt/freeware/lib -L/usr/local/lib -L/usr/local/lib64 -lm -lfreetype -lz
> -lm -o build/lib.aix-6.1-2.6/matplotlib/backends/_tkagg.so**
> **ld: 0711-224 WARNING: Duplicate symbol: guesses**
> **ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.**
> **ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateCommand**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_MainWindow**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_FindPhoto**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_PhotoBlank**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_PhotoPutBlock_NoComposite**
> **ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendResult**
>
> Some informations :
>
> bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # rpm -qa | grep
> tcl
> tcl-8.4.7-3
> tcl-8.5.13-1
> tcllib-1.11.1-1
> bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # rpm -qa | grep
> tk
> tk-8.4.7-3
> atk-1.12.3-2
> tkinter-2.6.7-1
> gtk2-2.10.6-4
> tk-8.5.13-1
>
> *
> *Please get back to me with solution, how can I get Matplotlib in AIX 6.1?
>
> tks
>
> *
>
So, all of the errors appear related to linking _tkagg.so to the various
tkinter and tcl libraries. I see that you have tcl-8.4.7 and tcl-8.5.13,
and it is the 8.4 version that the linker is picking up. Which version of
tcl do you have the development package for? Perhaps you have the 8.5
version of the dev packages, would would have newer symbols and the linker
then tries linking against the older library without those symbols? This is
completely a guess, though.
Cheers!
Ben Root
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel