Geth console outputs after admin.setSolc("/usr/bin/solc")
:
eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1
and
eth.getCompilers()
[]
I am getting an empty array instead of ['Solidity']
.
Installed solidity through: sudo apt-get install solc
output for which solc
: /usr/bin/solc
(added this to PATH)
I have seen a similar questionquestion, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?