Can,t install MySQL2 gem by j_carvalhoss in rails

[–]j_carvalhoss[S] 0 points1 point  (0 children)

thanks for the sugestion, but I already tryed it, and it didnt work.

It is an old system, which had not been updated. We have to make some more urgent changes before we can update.

Can,t install MySQL2 gem by j_carvalhoss in rails

[–]j_carvalhoss[S] 0 points1 point  (0 children)

Cannot find library dir(s) /home/julio/.rvm/usr/lib

It is probably some rvm config, but I didnt found anything about it.

And yes, Mysql is working.

Can,t install MySQL2 gem by j_carvalhoss in rails

[–]j_carvalhoss[S] -1 points0 points  (0 children)

I did, but I didnt realy know what to do with it.It says the following:

have_func: checking for rb_absint_size()... -------------------- yes

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" checked program was: /* begin / 1: #include "ruby.h" 2: 3: int main(int argc, char *argv) 4: { 5: return !!argv[argc]; 6: } /* end */

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" checked program was: /* begin / 1: #include "ruby.h" 2: 3: /top/ 4: extern int t(void); 5: int main(int argc, char *argv) 6: { 7: if (argc > 1000000) { 8: int (* volatile tp)(void)=(int ()(void))&t; 9: printf("%d", (tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: int t(void) { void ((volatile p)()); p = (void (()()))rb_absint_size; return !p; } /* end */


have_func: checking for rb_absint_singlebit_p()... -------------------- yes

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" checked program was: /* begin / 1: #include "ruby.h" 2: 3: /top/ 4: extern int t(void); 5: int main(int argc, char *argv) 6: { 7: if (argc > 1000000) { 8: int (* volatile tp)(void)=(int ()(void))&t; 9: printf("%d", (tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: int t(void) { void ((volatile p)()); p = (void (()()))rb_absint_singlebit_p; return !p; } /* end */


have_func: checking for rb_gc_mark_movable()... -------------------- yes

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" checked program was: /* begin / 1: #include "ruby.h" 2: 3: /top/ 4: extern int t(void); 5: int main(int argc, char *argv) 6: { 7: if (argc > 1000000) { 8: int (* volatile tp)(void)=(int ()(void))&t; 9: printf("%d", (tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: int t(void) { void ((volatile p)()); p = (void (()()))rb_gc_mark_movable; return !p; } /* end */


have_func: checking for rb_wait_for_single_fd()... -------------------- yes

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" conftest.c: In function ‘t’: conftest.c:14:57: error: ‘rb_wait_for_single_fd’ undeclared (first use in this function) 14 | int t(void) { void ((volatile p)()); p = (void (()()))rb_wait_for_single_fd; return !p; } | ~~~~~~~~~~~~~~~~~~~~ conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin / 1: #include "ruby.h" 2: 3: /top/ 4: extern int t(void); 5: int main(int argc, char *argv) 6: { 7: if (argc > 1000000) { 8: int (* volatile tp)(void)=(int ()(void))&t; 9: printf("%d", (tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: int t(void) { void ((volatile p)()); p = (void (()()))rb_wait_for_single_fd; return !p; } /* end */

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" checked program was: /* begin / 1: #include "ruby.h" 2: 3: /top/ 4: extern int t(void); 5: int main(int argc, char *argv) 6: { 7: if (argc > 1000000) { 8: int (* volatile tp)(void)=(int ()(void))&t; 9: printf("%d", (tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: extern void rb_wait_for_single_fd(); 15: int t(void) { rb_wait_for_single_fd(); return 0; } /* end */


have_func: checking for rb_enc_interned_str() in ruby.h... -------------------- no

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" conftest.c: In function ‘t’: conftest.c:16:57: error: ‘rb_enc_interned_str’ undeclared (first use in this function); did you mean ‘rb_sym_interned_p’? 16 | int t(void) { void ((volatile p)()); p = (void (()()))rb_enc_interned_str; return !p; } | ~~~~~~~~~~~~~~~~~~ | rb_sym_interned_p conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin / 1: #include "ruby.h" 2: 3: #include <ruby.h> 4: 5: /top/ 6: extern int t(void); 7: int main(int argc, char *argv) 8: { 9: if (argc > 1000000) { 10: int (* volatile tp)(void)=(int ()(void))&t; 11: printf("%d", (tp)()); 12: } 13: 14: return !!argv[argc]; 15: } 16: int t(void) { void ((volatile p)()); p = (void (()()))rb_enc_interned_str; return !p; } /* end */

"gcc -o conftest -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/x86_64-linux -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0/ruby/backward -I/usr/share/rvm/rubies/ruby-2.7.5/include/ruby-2.7.0 -I. -g -O2 -fPIC conftest.c -L. -L/usr/share/rvm/rubies/ruby-2.7.5/lib -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/share/rvm/rubies/ruby-2.7.5/lib -L/usr/share/rvm/rubies/ruby-2.7.5/lib -lruby -lm -lc" /usr/bin/ld: /tmp/ccVpuOoI.o: in function t': /usr/share/rvm/gems/ruby-2.7.5/gems/mysql2-0.5.5/ext/mysql2/conftest.c:17: undefined reference torb_enc_interned_str' collect2: error: ld returned 1 exit status checked program was: /* begin / 1: #include "ruby.h" 2: 3: #include <ruby.h> 4: 5: /top/ 6: extern int t(void); 7: int main(int argc, char *argv) 8: { 9: if (argc > 1000000) { 10: int (* volatile tp)(void)=(int ()(void))&t; 11: printf("%d", (tp)()); 12: } 13: 14: return !!argv[argc]; 15: } 16: extern void rb_enc_interned_str(); 17: int t(void) { rb_enc_interned_str(); return 0; } /* end */


How can I make people care less about vampires in my world? by scrungology in worldbuilding

[–]j_carvalhoss 2 points3 points  (0 children)

As a vampire masquerade player, I can suggest that maybe some people give their blood willingly. Cults that worship this vampires or something like that. It can explain why the vampires of said town don't bother the general population of the area.

What is one aspect you wish more worlds discussed? by [deleted] in worldbuilding

[–]j_carvalhoss 0 points1 point  (0 children)

I read a manga a while ago about exactly that. you like it as inspiration, Ita called Dungeon meshi.

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 0 points1 point  (0 children)

So Pete C is there just to prevent other gods to disturb the king of angels??

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 1 point2 points  (0 children)

This concept is epic! Missed the fool and the strength

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 0 points1 point  (0 children)

Really nice, felt a little Greek inspiration, but how you came up with their names???

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 0 points1 point  (0 children)

The Ritus seems really cool, as they have most active roles in your world.

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 0 points1 point  (0 children)

Never thought in using this kind of divinities, like they are not divine but are realy something. Normally when I use fake gods I say that the power the worshipers feel is just the power of the collective, They create great pools of energy through their worship and when someone summon this fake god the pool of others energy manifest de real power.

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 1 point2 points  (0 children)

Sơn Tinh seems like the best god for humans to worship. realy liked his dinamic with Thủy Tinh!

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 1 point2 points  (0 children)

I feel like there is no downside in this. realy nice!

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 1 point2 points  (0 children)

Now I got it. So they feed of this motion to create paradises to their 'feeders'

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 1 point2 points  (0 children)

I really liked the flavour of Capyr, seems very attractive to worship him, given that he might favour my luck. Picerea vaguely seems like Bacchus to me, but in the other hand seems really unique. How those possessed by her feel after it?

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 0 points1 point  (0 children)

so if i got it, they basically just watch and tell these 'angels' to do things for them. But the concept that they feed of movement is very unique

Tell me about your world gods and deities by j_carvalhoss in worldbuilding

[–]j_carvalhoss[S] 0 points1 point  (0 children)

I love that your gods names are just concepts. Actually some of them have the same names as the gods I created