The new Compound Library objective awards a bonus if the current ligand can be found in the compound library. The bonus is 2000 points on puzzle 2222. (They really should have made the bonus 2222 points.)
The Foldit client has to see the compound library results to award the bonus. This can be a problem if you play as an evolver, or even if you open your own solution on a different client. There's no "library compound" indicator that gets stored with the solution.
As an evolver, you can try submitting the compound you're trying to evolve. The results should come back quickly. Use the "Load Library" button in the compound library window. The library may take a minute to load. Then shaking or wiggling should get the compound library bonus to appear.
That solution may not work in all cases. Sometimes, the library results will have multiple entries with similarity 1.0. These entries will appear at the top. If you have these exact matches, you'll be able to earn the bonus.
If there are no similarity 1.0 matches, you'll need to run a search on the compound that your current compound came from. For example, the solution you're trying to evolve may have started as entry 11 in the compound library for the starting compound. You'll need to run the same search again as an evolver. You may need to ask the player who shared the solution you're trying to evo to also share the compound one generation back.
If you already have the correct compound library open, the compound library bonus should appear immediately when you open a solution for evo.
As a soloist, it's a similar situation, but you've already run the compound library lookup you need. Before you open a solution on a different Foldit client, load the compound library from the previous step. Then the bonus will appear as soon as you open the solution.
Just to be clear, players can access their own compound library searches on any Foldit client. You do still have to load the correct compound library to get the bonus on a new client.
There's no sharing for compound library searches, so evolvers need to run a search on the correct compound, and then load the resulting library.
In some cases, just submitting a search on the current compound will work. In other cases, you'll need to search on the compound before the current compound, in get a library that includes the current compound.
To help clarify, the compound library objective uses a locally cached copy of the compound library search results to check if the current compound is in the library. (It uses the local copy because there's potentially some 20+ billion compounds in the library, so we can't download them all.) The local copy should get updated whenever the Compound Library panel is opened and search results come back from the server. (Opening the Load Library panel shouldn't be necessary.) Once you have the results cached, you shouldn't need to keep the Compound Library panel open to get the bonus for anything that's in the results. (And once cached, those results should also work if you're playing offline.)
The cache is kept on a per client (per directory) basis. So if you're opening a client that lives in a different directory, you would need to open the Compound Library panel to get your search results from the server before you would see the bonus. (Your search results should be tied to your user account, so opening the panel should update the local cache immediately.) Note that you'll only get the bonus for exact matches, not just "Similarity 1.0" matches. Exact matches should be explicitly labeled as such in the Load Library panel.
If you're going for an evolver, (loading a solution from another player which has the compound library bonus) you'll may not already have that compound in your local cached results, nor in the results from your other searches. In that case, you would need to submit the compound to the library search. There's some server-side caching of search results, so if that compound was already submitted as a query in a search, the results should come back quickly. If the exact compound is in the library, submitting it for a search should return it. (Though the search algorithm is a bit approximate to be able to search all the 20+ billion compounds in a reasonable time, so there's an odd chance that it might miss.)
There's some score caching, so if the compound library objective isn't immediately picking things up, you may need to make a small change to the structure (e.g. wiggling or shaking) in order for the Foldit client to recognize things have changed and properly recalculate the objective with the new compound library results.
Searching for a group share solution in the compound library doesn't always return an "exact match" result. Some times, it's a very low maximum Similarity (say 0.2). In this case, it's quite difficult to get the bonus (and to evolve). Hopefully this situation is not so common.
It happens that the bonus appears immediately (I suppose when the compound already exist locally). It happens that the solution gets "evolved" with same score as shared (no "+2 points" needed).
Small Bug: the message "not evolved" often remains even when a solution was evolved and credited.
https://fold.it/forum/blog/klhdc2-the-next-level#post_76560, rosie4loop describes the actual database (ZINC) the compound library pulls from. If you are unsatisfied with how foldit interfaces with it, going right to the source may help!