sudo yum install -y sqlite-devel libgomp atlas-devel lapack-devel;
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package sqlite-devel-3.7.17-8.el7_7.1.x86_64 already installed and latest version
Package libgomp-4.8.5-44.el7.x86_64 already installed and latest version
Package atlas-devel-3.10.1-12.el7.x86_64 already installed and latest version
Package lapack-devel-3.4.2-8.el7.x86_64 already installed and latest version
Nothing to do
2 download sqlite-vss-v0.1.2-static lib
cd examples/go
download sqlite-vss-v0.1.2-static-linux-x86_64.tar.gz and tar xvf this file to lib
3 run code
make demo SQLITE_VSS_LIB_DIR=./lib
CGO_LDFLAGS=""-L./lib"" \
go build -o demo
# github.com/asg017/sqlite-vss/examples/go
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
OS: CentOS Linux release 7.6.1810 (Core)
1 install package:
2 download sqlite-vss-v0.1.2-static lib
cd examples/go download sqlite-vss-v0.1.2-static-linux-x86_64.tar.gz and tar xvf this file to lib
3 run code
How to fix this error?