Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/test*: fail with error while loading shared libraries: libhdf5_serial.so.10: cannot open shared object file: No such file or directory #55

Open
kortschak opened this issue Sep 13, 2019 · 0 comments

Comments

@kortschak
Copy link
Member

What are you trying to do?

Run tests.

What did you do?

git checkout 847297cb569e6bb5d2ef9248b222eb4d8d40bd2d
GODEBUG=cgocheck=0 go test ./...

What did you expect to happen?

Successful test completion.

What actually happened?

$ GODEBUG=cgocheck=0 go test ./...
ok  	gonum.org/v1/hdf5	(cached)
--- FAIL: TestCpxCmpd (0.00s)
    main_test.go:24: error: exit status 127
        test-go-cpxcmpd: error while loading shared libraries: libhdf5_serial.so.10: cannot open shared object file: No such file or directory
        
FAIL
FAIL	gonum.org/v1/hdf5/cmd/test-go-cpxcmpd	0.004s
?   	gonum.org/v1/hdf5/cmd/test-go-extend-ds	[no test files]
?   	gonum.org/v1/hdf5/cmd/test-go-hdf5	[no test files]
--- FAIL: TestTableRWCmd (0.00s)
    main_test.go:25: error: exit status 127
        test-go-table-01: error while loading shared libraries: libhdf5_serial.so.10: cannot open shared object file: No such file or directory
        
FAIL
FAIL	gonum.org/v1/hdf5/cmd/test-go-table-01	0.004s
?   	gonum.org/v1/hdf5/cmd/test-go-table-01-readback	[no test files]
ok  	gonum.org/v1/hdf5/cmem	(cached)
FAIL

What version of Go, Gonum, Gonum/netlib and libhdf5 are you using?

Gonum: 1d8f8b2ee4cec2e174d8abadec9339ec4961b303
HDF5: 847297c
Go version: go version go1.13 linux/amd64

Does this issue reproduce with the current master?

Yes

Additional information

The system-wide install provides a libhdf5_serial.so.100.0.1.

$ dpkg -L libhdf5-100 
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.100.0.1
/usr/lib/x86_64-linux-gnu/libhdf5_serial_fortran.so.100.0.1
/usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so.100.0.0
/usr/lib/x86_64-linux-gnu/libhdf5_serialhl_fortran.so.100.0.0
/usr/share
/usr/share/doc
/usr/share/doc/libhdf5-100
/usr/share/doc/libhdf5-100/changelog.Debian.gz
/usr/share/doc/libhdf5-100/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libhdf5-100
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.100
/usr/lib/x86_64-linux-gnu/libhdf5_serial_fortran.so.100
/usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so.100
/usr/lib/x86_64-linux-gnu/libhdf5_serialhl_fortran.so.100
/usr/share/doc/libhdf5-100/RELEASE.txt.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant