Skip to content

Instantly share code, notes, and snippets.

@zdavatz
Created May 11, 2016 13:33
Show Gist options
  • Save zdavatz/5b6216ac4b4773437fe8054572adb592 to your computer and use it in GitHub Desktop.
Save zdavatz/5b6216ac4b4773437fe8054572adb592 to your computer and use it in GitHub Desktop.
ydim_install_script_error
ic -lpthread -lrt -ldl -lcrypt -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libruby-static.a(array.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib64/libruby-static.a: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
make: *** [mod_ruby.so] Fehler 1
gcc -shared -o mod_ruby.so mod_ruby.o ruby_config.o apachelib.o array_header.o table.o connection.o server.o request.o upload.o cookie.o paramtable.o multival.o bucket.o uri.o error.o apache_request.o apache_multipart_buffer.o apache_cookie.o -L/usr/lib64 -L/usr/local/lib64 -Wl,-R -Wl,/usr/local/lib64 -L/usr/local/lib64 -lruby-static -lpthread -lrt -ldl -lcrypt -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libruby-static.a(array.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib64/libruby-static.a: could not read symbols: Bad value
collect2: Fehler: ld gab 1 als Ende-Status zurück
make: *** [mod_ruby.so] Fehler 1
cp: der Aufruf von stat für „mod_ruby.so“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment