torch / gnuplot

Other
60 stars 32 forks source link

Unable to load gnuplot in torch #30

Open cslxiao opened 8 years ago

cslxiao commented 8 years ago

I installed the gnuplot with luarocks command, but I was unable to load it in th:

th> require 'gnuplot' /usr/bin/gnuplot: error while loading shared libraries: liblua5.1.so.0: cannot open shared object file: No such file or directory /home/x/torch/install/share/lua/5.1/trepl/init.lua:384: /home/x/torch/install/share/lua/5.1/trepl/init.lua:384: .../x/torch/install/share/lua/5.1/gnuplot/gnuplot.lua:174: attempt to index local 'ss' (a nil value) stack traceback: [C]: in function 'error' /home/x/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require' [string "_RESULT={require 'gnuplot'}"]:1: in main chunk [C]: in function 'xpcall' /home/x/torch/install/share/lua/5.1/trepl/init.lua:651: in function 'repl' .../torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk [C]: at 0x00406670

How can I solve i?

CosmosShadow commented 8 years ago

same problem