You are not logged in.
Hey there, I am having a issue compiling Sonic-1-2-2013-Decompilation due to a issue with ld saying it can't find -libus-1.0, I have made a issue report but also wanted to make a issue report here to cover both bases and in case it's a package issue.
https://github.com/Rubberduckycooly/Son … issues/339
Last edited by levi (2022-06-25 19:18:12)
Offline
Check the makefile; does it specify a specific version string of libibus? Now I look at my system I do have libibus 1.0 installed, probably as a dependency of glib2. But I have libibus-1.0.so.5.0.525, so it maybe the makefile is specifying an older version. Since neither the major nor minor versions have changed I guess it's as as simple as changing the makefile so it points at what you actually have.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
libibus /usr/lib/libibus-1.0.so
libibus /usr/lib/libibus-1.0.so.5
libibus /usr/lib/libibus-1.0.so.5.0.525
libibus /usr/lib/pkgconfig/
libibus /usr/lib/pkgconfig/ibus-1.0.pc
pkg-config --libs ibus-1.0
-libus-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
The python module is still 3.9, this is worth triggering an update.. :-)
I just did a:
git clone git@github.com:Rubberduckycooly/Sonic-1-2-2013-Decompilation.git
cd Sonic-1-2-2013-Decompilation
git submodules update --init
make
This worked just fine for me, I got:
ldd bin/RSDKv4 | grep ibus
libibus-1.0.so.5 => /usr/lib/libibus-1.0.so.5 (0xf5c2b000)
Offline
Which git revision of Sonic-1-2-2013-Decompilation did you use? (I have 21b8964cbcf7c01fd85e5f9107c4718c3bc61463)
Which version ob libibus do you have installed? (I have libibus 1.5.25-3.0)
Do you have the shared libraries mentioned above? What is pkg-config --libs ibus-1.0 printing?
Offline
Check the makefile; does it specify a specific version string of libibus? Now I look at my system I do have libibus 1.0 installed, probably as a dependency of glib2. But I have libibus-1.0.so.5.0.525, so it maybe the makefile is specifying an older version. Since neither the major nor minor versions have changed I guess it's as as simple as changing the makefile so it points at what you actually have.
Don't think I see one but on line 88 which is where it gets stuck I see
$(CXX) $(CXXFLAGS_ALL) $(LDFLAGS_ALL) $^ -o $@ $(LIBS_ALL)
Offline
libibus /usr/lib/libibus-1.0.so
libibus /usr/lib/libibus-1.0.so.5
libibus /usr/lib/libibus-1.0.so.5.0.525
libibus /usr/lib/pkgconfig/
libibus /usr/lib/pkgconfig/ibus-1.0.pcpkg-config --libs ibus-1.0
-libus-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0The python module is still 3.9, this is worth triggering an update.. :-)
I just did a:
git clone git@github.com:Rubberduckycooly/Sonic-1-2-2013-Decompilation.git
cd Sonic-1-2-2013-Decompilation
git submodules update --init
makeThis worked just fine for me, I got:
ldd bin/RSDKv4 | grep ibus
libibus-1.0.so.5 => /usr/lib/libibus-1.0.so.5 (0xf5c2b000)
THANK YOU SO MUCH! thanks to your reply I realized the libibus package was missing but was never mentioned as a needed dependency for Arch users, now it compiles and works!
Offline
Cool. :-)
JFYI, LIBS_ALL gets set above with pkg-config in the same Makefile:
pkg-config --libs --static sdl2 vorbisfile vorbis glew
-pthread -lSDL2 -lrt -lunwind-generic -lunwind -lglib-2.0 -lgobject-2.0 -lgio-2.0 -libus-1.0 -ldbus-1 -lm -Wl,--no-undefined -pthread -lSDL2 -lvorbisfile -lm -logg -lvorbis -lm -logg -lGLEW -lGL -lX11 -lGLU -lOpenGL
Ah, and I see, you commented upstream about the lack of libibus.. thanks.
Offline
Yeah and all good, hopefully I get a reply and they update their readme
Offline