Advertisement
Guest User

Untitled

a guest
Mar 28th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. $ sh testbug.sh
  2. g++ -c ldpreload_crash.cpp -o ldpreload_crash.o
  3. c++ -fPIC -shared -o ldpreload_crash.so ldpreload_crash.o -rdynamic -lGL -lGLU -lstdc++
  4. /usr/bin/ld: ldpreload_crash.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  5. ldpreload_crash.o: could not read symbols: Bad value
  6. collect2: ld returned 1 exit status
  7. make: [ldpreload_crash.so] Error 1 (ignored)
  8. gcc -c ldpreload_main.c -o ldpreload_main.o
  9. gcc -fPIC -o ldpreload_main ldpreload_main.o -ldl
  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 8.04.4 LTS
  20. Release: 8.04
  21. Codename: hardy
  22.  
  23. $ uname -a
  24. Linux lucky2 2.6.24-24-server #1 SMP Fri Sep 18 16:47:05 UTC 2009 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement