Getting a unexpected linking error even though the...
# kotlin-native
n
Getting a unexpected linking error even though the linkerOpts (-L/usr/lib/x86_64-linux-gnu -lglib-2.0) are correct in the GUI Vista Core library:
Copy code
ld.lld: error: undefined symbol: g_object_unref
This error is occurring with a Kotlin Native project (generates a binary) that depends on the GUI Vista IO library (contains gio dependency), which in turn depends on the GUI Vista Core library (contains glib dependency). The missing symbol is found in the glib library which for some reason isn't being linked.