-
-
Notifications
You must be signed in to change notification settings - Fork 853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultiMC: error while loading shared libraries: libMultiMC_logic.so: cannot open shared object file: No such file or directory #1539
Comments
You should use the launch script, not the executable. The libraries do not belong into any sort of standard hierarchy and never did. The application is a portable application. It is meant to run from your own folders, not a system folder (so, set the install prefix to something like You should never use If you want to add a .desktop file, you can. That's how the ubuntu package is done. It has an icon file, a .desktop file and a script that grabs the real application. I see it as strictly inferior to what it is now. A limited, dumbed down version. Sadly, most desktop environments have regressed over time and are unable to handle a real application without a pile of metadata registered in the system. You can look at what goes into the ubuntu package here: It might run counter to everything that exists on the linux desktop right now, but I wouldn't want this thing to be packaged by people - not yet. The issue is that I have to be able to push an update to everyone without going through lagging distro packagers. Maybe once it doesn't depend on external resources in custom undocumented and periodically changing formats, it will be possible to allow that. But right now, I wouldn't want stale packages sitting in repositories for 6 months. I sometimes have to push updates in days to keep stuff working. I'm working on fixing that issue. It needs setting up more infrastructure. So, maybe sometime this year. |
Same applies to system installed version on Windows, and OSX. Or having an installer at all. You can use this without admin rights of any kind. |
Where do I find the launch script? I don't believe I saw any in the source. Also, thanks (: |
Closing for lack of activity. |
System Information
MultiMC version:
Latest Github version (self-compiled)
Operating System:
Linux 4.1.15-gentoo-r1
(64-bit Intel)Summary of the issue or suggestion:
Despite the libraries being in
/usr/local/bin
(where they really shouldn't be anyway, but were installed by default),/usr/local/lib64
,/usr/local/lib
, and/usr/local/bin/lib64
(where it also wouldn't make sense to put them, but I did anyway), running MultiMC from the command line still outputsMultiMC: error while loading shared libraries: libMultiMC_logic.so: cannot open shared object file: No such file or directory.
These libraries includelibMultiMC_logic.so
.What should happen:
MultiMC should start
Steps to reproduce the issue (Add more if needed):
git clone https://github.com/MultiMC/MultiMC5
git submodule init
git submodule update
mkdir build
cd build
cmake ..
make
make install
(orsudo make install
if your user is not root)(QT Creator didn't have a cmake button, so I just based the necessary steps to compile and install it off the Mac OSX/Darwin instructions)
Suspected cause:
Either problems finding libraries, or the interface between the chair and the keyboard (myself)
Logs/Screenshots:
Additional Info:
Why do I have to open the executable manually anyway? Shouldn't there just be a .desktop file so you are able to launch it in the standard menu of most modern desktop environments?
Also, pardon me for my incompetence. I'm sure there is a simple reason the library is not found, probably related to a bad path.
The text was updated successfully, but these errors were encountered: