Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to compile an application (peekabot) from source on a clean install of 10.10 (this is under VirtualBox on OS X, but I don't think that this is a problem). When it performs a linking step it fails because of a missing static library:

libtool: link: cannot find the library `/usr/lib/' or unhandled argument `/usr/lib/'

I have libgdk-pixbuf2.0-dev installed, hence the worry.

The reference to the library appears to have been added as a dependency of libgtkglextmm and libgdkglextmm:

grep "" /usr/lib/*.la

/usr/lib/' /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lGLU -lXmu -lXt -lSM -lICE /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lfreetype -lz -lfontconfig -lpng12 -lxcb-render-util -lXrender -lX11 -lpixman-1 /usr/lib/'

/usr/lib/' /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lGLU -lXmu -lXt -lSM -lICE /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lfreetype -lpng12 -lxcb-render-util -lXrender -lX11 -lpixman-1 /usr/lib/ /usr/lib/ -lz -lfontconfig'

But the referenced static library is missing from my system. So, is there a way to get this library that I'm missing, or is there some other workaround I can use?

thanks, Nick

share|improve this question
The developer of peekabot has now filed this as a bug: – Nick Hawes Oct 18 '10 at 14:29
In the end I worked around this but editing the .la files to change the linkage to libgdk_pixbuf-2.0 to be a dynamic link rather than static. – Nick Hawes Oct 18 '10 at 14:30
up vote 3 down vote accepted

My fix for this was to open the files


and replace any occurrences of




However, the bug should now be fixed properly:

share|improve this answer

Are you building a 32-bit application on 64-bit by chance? This question reminds me of this bug which I'm not 100% sure we fixed this cycle.

share|improve this answer
This is a 32-bit install of Ubuntu and I have not set any arch flags for the build. I assume that this means the above isn't the problem, unless something nefarious is going on under the hood. – Nick Hawes Oct 18 '10 at 8:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.