andrewrk / andrewrk/libsoundio

Can't link to libsoundio.so1 correctly

オープン
#191 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
主要言語
C
スター
2.1k
フォーク
254
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。