andrewrk / andrewrk/libsoundio

Can't link to libsoundio.so1 correctly

Đang mở
#191 2 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
2.1k
Fork
254
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I'm very new with the library, maybe I'm making some basic mistake.

I'm trying to get the first example working. I built libsoundio with

cmake ..
make
sudo make install

Then built the example with

gcc test.c -o test -lm -lsoundio

But when I run it it does not find the shared lib:

./test_audio: error while loading shared libraries: libsoundio.so.1: cannot open shared object file: No such file or directory

Any advice?

P.S: It would be nice to have a basic build line for the examples on the documentation (did not found one)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.