What app?
Is it possibly available for direct install instead of compiling?
What other messages may be given?
I assume you have a fully updated system but some don’t so is it updated?
More details are helpful.
It’s available as an AppImage but it has bugs and won’t run - the author of it suggests compiling it.
Yes, this is a fresh install of Fedora 35, with all updates installed.
Error message when I run make
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-3.0', required by 'gtkmm-3.0', not found
Package 'gtk+-unix-print-3.0', required by 'gtkmm-3.0', not found
Package 'gtk+-3.0', required by 'gdkmm-3.0', not found
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-3.0', required by 'gtkmm-3.0', not found
Package 'gtk+-unix-print-3.0', required by 'gtkmm-3.0', not found
Package 'gtk+-3.0', required by 'gdkmm-3.0', not found
g++ -c -o obj/src/controller/SteamAppDAO.o src/controller/SteamAppDAO.cpp -std=c++17 -Wall
In file included from src/controller/../gui/ListBoxRowWithIcon.h:4,
from src/controller/../gui/AchievementBoxRow.h:5,
from src/controller/../gui/MainPickerWindow.h:5,
from src/controller/SteamAppDAO.cpp:6:
/usr/include/gtkmm-3.0/gtkmm/listboxrow.h:6:10: fatal error: glibmm/ustring.h: No such file or directory
6 | #include <glibmm/ustring.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:51: obj/src/controller/SteamAppDAO.o] Error 1
Edit: OK, so it’s a path issue - I did export PKG_CONFIG_PATH=/usr/lib/pkgconfig and compilation went well for a while then bombed out with this:
/usr/bin/ld: skipping incompatible /usr/lib/libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/11/../../../libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /lib/libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: cannot find -lgtk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/11/../../../libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /lib/libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgtk-3.so when searching for -lgtk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/11/../../../libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /lib/libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: cannot find -lgdk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/11/../../../libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /lib/libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /usr/lib/libgdk-3.so when searching for -lgdk-3
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libgio-2.0.so when searching for -lgio-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgobject-2.0.so when searching for -lgobject-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libglib-2.0.so when searching for -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
I was able to successfully compile it on my Fedora 35 laptop without exporting PKG_CONFIG_PATH. Perhaps export PKG_CONFIG_PATH=/usr/lib/pkgconfig not having lib64 is a problem.
From your output it looks like the loader is trying to load libraries from /usr/lib which is where 32bit libraries are stored.
Are you running a 32 bit i686 version of Fedora? What is the output of uname --processor?
If you are running a x86_64 architecture, check that you didn’t accidentally install some i686 versions of some of the prerequisite packages. Or, maybe you set LD_LIBRARY_PATH? If so, try unsetting it.
Hello, I decided to give it try on “Fedora 36” system without ANY extra changes “like set PATH config or pkgconfig changes” I tried with based instruction on README and able to run without any issue.
Here is my how-to basically;
git clone https://github.com/PaulCombal/SamRewritten.git
sudo dnf install gtkmm30 gtkmm30-devel yajl-devel curl-devel g++
make
cd /bin/
{I opened steam because it is asking for it }
./launch.bin
That’s all. Are you sure did you install everything correctly ?
I do have 32-bit libraries of stuff installed simply as Steam et al, requires them. Steam is a 32-bit app as are a lot of games and their libraries.
And for your pkg-config command
pkg-config --variable pc_path pkg-config /usr/lib64/pkgconfig:/usr/share/pkgconfig
bash: /usr/lib64/pkgconfig:/usr/share/pkgconfig: No such file or directory
pkgconfig exists in both places, so is it the way I’ve formatted the command?
Edit: it is - my bad. The command works if I put a space between the paths not a colon.