[LLVMdev] libLLVMgold.so: could not load plugin library

Rafael Espindola espindola at google.com
Fri Jun 25 06:56:12 PDT 2010

On 25 June 2010 03:17, Guoliang Jin <jingl1345 at gmail.com> wrote:
>  Hi there,
> I checked out the latest code from the repository, and wanna use the gold
> plugin, but I got the following:
> libLLVMgold.so: could not load plugin library
> Do you know why this is happening?
> Also I noticed the name of the library is changed to LLVMgold.so, and I just
> renamed it to libLLVMgold.so when I copied it. Is this the right thing to
> do?

The library is now named LLVMgold.so, I probably forgot to update some
documentation, didn't I :-(

Copying it should cause no problems. just make sure libLTO.so is in a
place it can find. What happens if you run ldd on LLVMgold.so?

> Thanks,
> Guoliang

Rafael Ávila de Espíndola

More information about the llvm-dev mailing list