Advertisement
Guest User

Untitled

a guest
Mar 28th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. $ sh testbug.sh
  2. g++ -c ldpreload_crash.cpp -o ldpreload_crash.o
  3. gcc -c ldpreload_main.c -o ldpreload_main.o
  4. gcc -fPIC -o ldpreload_main ldpreload_main.o -ldl
  5. c++ -fPIC -shared -o ldpreload_crash.so ldpreload_crash.o -rdynamic -lGL -lGLU -lstdc++
  6. /usr/bin/ld: ldpreload_crash.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
  7. ldpreload_crash.o: could not read symbols: Bad value
  8. collect2: ld returned 1 exit status
  9. make: [ldpreload_crash.so] Error 1 (ignored)
  10. ldd: ./ldpreload_crash.so: No such file or directory
  11. dlopen failed with message './ldpreload_crash.so: cannot open shared object file: No such file or directory'
  12. Function use_stream not found.
  13. dlopen failed with message './ldpreload_crash.so: cannot open shared object file: No such file or directory'
  14. Function use_stream not found.
  15.  
  16. $ lsb_release -a
  17. No LSB modules are available.
  18. Distributor ID: Ubuntu
  19. Description: Ubuntu 10.04.4 LTS
  20. Release: 10.04
  21. Codename: lucid
  22.  
  23. $ uname -a
  24. Linux lamp 2.6.32-36-generic #79-Ubuntu SMP Tue Nov 8 22:29:53 UTC 2011 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement