stMind

about Tech, Computer vision and Machine learning

Encountered errors while installing torch

ld: library not found for -lSystem
collect2: error: ld returned 1 exit status

Error: Build error: Failed compiling module lfs.so
ld: library not found for -lreadline
collect2: error: ld returned 1 exit status

Error: Build error: Failed compiling module readline.so
/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(40): error: class "__half" has no member "x"

/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(41): error: class "__half" has no member "x"

/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(42): error: class "__half" has no member "x"

/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(80): error: class "__half" has no member "x"

/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(88): error: class "__half" has no member "x"

/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(92): error: class "__half" has no member "x"

/Users/satojkovic/torch/extra/cutorch/lib/THC/THCHalf.cu(122): error: class "__half" has no member "x"

make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2
make: *** [all] Error 2

Error: Build error: Failed building.