Geth console outputs:
>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
>eth.getCompilers()
[]
I am getting an empty array instead of ['Solidity']. Am I missing anything?
Installed solidity through: sudo apt-get install solc
output for which solc: /usr/bin/solc (added this to PATH)
0 ·