Could not load library

Started by moneill0719

moneill0719 Lv 1

Could not load library message given.

After downloading the install and installing foldit I was prompted with a message stating "Could not load library" : The specific module could not be found.

any help on troubleshooting?

LociOiling Lv 1

Foldit has been having server problems recently. The server stops responding for a short time, which tends to cause a lot of different problems. When it first installs, Foldit tries to update to the latest release, then restart. It's possible the update failed in this case, due to server problems.

The first thing to try is just starting Foldit again. There's a slight chance the problem will have cleared up. You may see Foldit update itself again.

If that fails, try installing Foldit again. I'd suggest trying to install it in the same spot as before, for example C:\Foldit or the equivalent. With a little luck, you'll get further.

If it's still not working, try sharing the log.txt file, for example C:\Foldit\log.txt. You can locate log.txt in Windows Explorer or the equivalent, then drag it to a new post on this message thread. The log file gives more details on what's happening. Collect the log file when Foldit is not running.

rmoretti Staff Lv 1

To confirm, this happens when you first launch Foldit, before the Foldit window comes up?

If so, then it sounds like there's an issue with your installation. I'd recommend deleting your current install, re-downloading the Foldit installer and re-trying the installation.

If that doesn't help, more information about your environment would help. Which OS are you using (Windows/Mac/Linux) and which version/distribution? Is there any more information that gets printed/displayed?

moneill0719 Lv 1

Yes this happens after the download is completed and I try the initial launch of the foldit program.

I am using Microsoft windows 11 pro. I have tried reinstalling the installation several times now and after each install setup being completed I am still prompted with the same error stating

Could Not Load Library
C:\users\micha\Desktop\foldit\cmp-binary-77641d06d930219f12f466772cf1b52d\game_library.d11': the specific module could not be found.

rmoretti Staff Lv 1

Can you take a look at the Foldit folder on your Desktop and see if the listed 'cmp-binary-77641d06d930219f12f466772cf1b52d' directory is present, and if so, is there a 'game_library.dll' file within it? (It should be dll with letter L, rather than d11 with number one.)

I just double checked a fresh installation of Foldit on my Windows 10 machine (using a freshly downloaded installer), and it looks like when I run the installer, the cmp-binary-77641d06d930219f12f466772cf1b52d folder does indeed get generated, with the game_library.dll file inside of it. – If it's not being properly constructed on your machine, then there is likely an issue with the installation process. Either the installer itself is corrupted (in which case a fresh download of the installer from the fold.it website might help), or there's some error during the installation process which results in not everything being extracted. (Were there any messages during the running of the installer?)

If the file is present on disk at the specified location, then there may be an issue with permissions. I'm not sure if Windows 11 has additional permission issues you might be running into. Are you running your system with some enhanced security settings? Or are you running any additional security software? – It may be that your security program is "helpfully" deleting dll files you're installing in your Desktop folder when it's trying to protect you. During the installation, pay attention to any popups or system messages which may be coming from other programs.