Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sh testbug.sh
- g++ -c ldpreload_crash.cpp -o ldpreload_crash.o
- gcc -c ldpreload_main.c -o ldpreload_main.o
- gcc -fPIC -o ldpreload_main ldpreload_main.o -ldl
- c++ -fPIC -shared -o ldpreload_crash.so ldpreload_crash.o -rdynamic -lGL -lGLU -lstdc++
- /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
- ldpreload_crash.o: could not read symbols: Bad value
- collect2: ld returned 1 exit status
- make: [ldpreload_crash.so] Error 1 (ignored)
- ldd: ./ldpreload_crash.so: No such file or directory
- dlopen failed with message './ldpreload_crash.so: cannot open shared object file: No such file or directory'
- Function use_stream not found.
- dlopen failed with message './ldpreload_crash.so: cannot open shared object file: No such file or directory'
- Function use_stream not found.
- $ lsb_release -a
- No LSB modules are available.
- Distributor ID: Ubuntu
- Description: Ubuntu 10.04.4 LTS
- Release: 10.04
- Codename: lucid
- $ uname -a
- 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