SHARE
TWEET

Untitled

a guest Feb 17th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. can't open /dev/mem
  2.    
  3. ./demo: error while loading shared libraries: libsndfile.so.1: cannot open shared object file: No such file or directory
  4.    
  5. gcc `pkg-config --cflags sndfile` -c demo.c
  6. gcc 'pkg-config --libs sndfile' demo.o -o demo
  7. sudo ./demo stereo_small.wav
  8.    
  9. sudo bash
  10. export LD_LIBRARY_PATH=/usr/local/lib
  11. ./demo stereo_small.wav
  12.    
  13. su --command="export LD_LIBRARY_PATH=/usr/local/lib && ./demo stereo_small.wav"
RAW Paste Data
Top