I'm running Mandrake 10, with kernal 2.6. I installed
jack-audio-connection-kit-0.98.1 and it seems to work
with the examples provided. However, I'm at a loss when
it comes to compiling, linking, and running a file
outside of the make file provided in the examples. That is,
produces an executable that works fine.
However, I really don't understand much of what the
make file is doing. What is the .libs directory for,
which seems to get a copy of the executable?
When I my own version of simple_client and compile it:
gcc -g -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-L/usr/local/lib -lpthread -ldl -lm -ljack -o
it compiles and links okay. But when I run it I get the
following message, even though libjack.so.0 is in
[hufe@localhost pelaudio]$ ./simple_client mark
./simple_client: error while loading shared libraries:
libjack.so.0: cannot open shared object file: No such
file or directory
What is the purpose of the .libs directory? Also, what
would make the library invisible at run time, even
though it is there?
Log in to post a comment.