frida / frida-core

Frida core library intended for static linking into bindings
https://frida.re
Other
592 stars 187 forks source link

use --enable-shared option not working. #527

Open EricWu123 opened 1 month ago

EricWu123 commented 1 month ago
# compile
./configure --enable-shared
make
make install 
# make install operation does not install libfrida-core.so, so I manually copy it.
cp build/subprojects/frida-core/src/libfrida-core.so /usr/local/lib/x86_64-linux-gnu/
# run 
$ frida -n hello
     ____
    / _  |   Frida 16.2.5 - A world-class dynamic instrumentation toolkit
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at https://frida.re/docs/home/
   . . . .
   . . . .   Connected to Local System (id=local)
Attaching...

(process:30105): GLib-GIO-WARNING **: 16:25:53.495: (../../../glib/gio/gdbuserror.c:215):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(process:30105): GLib-GIO-WARNING **: 16:25:53.495: (../../../glib/gio/gdbuserror.c:215):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(process:30105): GLib-GIO-WARNING **: 16:25:53.495: (../../../glib/gio/gdbuserror.c:215):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(process:30105): GLib-GIO-WARNING **: 16:25:53.495: (../../../glib/gio/gdbuserror.c:215):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(process:30105): GLib-GIO-WARNING **: 16:25:53.496: (../../../glib/gio/gdbuserror.c:215):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(process:30105): GLib-GIO-WARNING **: 16:25:53.496: (../../../glib/gio/gdbuserror.c:215):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(process:30105): GLib-GIO...