Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 just installed the 64-bit version of Slackware and am setting up some software I was previously running (in 32-bit) from their tarballs.

Currently I'm trying to build lib torrent-0.12.7, which claims that it needs libsigc++-2.0. I have libsigc++-2.2.9 compiled and installed, but it doesn't seem to be finding it.

I notice that libsigc++ is installed in:


And it's the only thing there. I also notice that printenv shows:


So I would assume then that this means that it's looking for 64-bit packages in lib64 directories, not 32-bit packages in lib directories.

What is the right way to get it to find this package? Do I need to re-compile libsigc++ with some kind of flags to install it in the 64-bit directories? If so, how? Or do I need to do something else? If all I need to do is add that path to the above environment variable, how do I do that? (There is no setenv on this machine for some reason.)

share|improve this question
up vote 0 down vote accepted

I ended up discovering that I need to use export to set my environment variables. So in my .zshrc I added:

PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/local/lib/pkgconfig; export PKG_CONFIG_PATH

Now ./configure finds the correct library.

share|improve this answer

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.