Solved Compiling software for linuxulator

Hello. I'm trying to use a linux build of gtk3 based software (seamonkey browser) on FreeBSD 14.2. After installing the necessary linux-rl9-* packages from pkg it works flawlessly, except that I can't use gtk immodule. I'm using korean/imhangul-gtk3 for korean input. I believe it's because the immodule (/usr/local/lib/gtk-3.0/immodules/im-hangul.so) is a FreeBSD binary and not linux's and I need a linux version of it under its rootfs. However, this isn't a widely used package and I don't have any other Rocky Linux 9 machine I can compile/copy from. Is there an easy way to compile this? Thanks.
 
Code:
ubuntu:~$ ldd ./im-hangul.so
    linux-vdso.so.1 (0x00007ffc94df6000)
    libgtk-3.so.0 => not found
    libgdk-3.so.0 => not found
    libpango-1.0.so.0 => not found
    libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f3e0faac000)
    libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3e0f982000)
    libhangul.so.1 => not found
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3e0f78e000)
    libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f3e0f782000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3e0f75f000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f3e0f6ec000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f3e0fb23000)
i pulled one from
https://rpmfind.net/linux/rpm2html/search.php?query=imhangul (the suse 15.6 amd64 one)
 
Thanks a lot. It's working after downloading/extracting/copying the rpms for imhangul and libhangul (for suse 15.6). For now I just manually extracted/copied as I don't know how to properly package it though.
 
Back
Top