Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am trying to install a game so i run configure and it exits with this:
checking for sigc++-1.2... Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found
configure: error: Library requirements (sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
so installed libsigc++-1.2.5.tar.gz to the /lib folder and still get the same message. what should i do?
most software you'll download will install, by default, into /usr/local as opposed to /usr
Sometimes you want this, sometimes you don't. If you want it to install into /usr, when "configuring", usually just adding --prefix=/usr will fix it. Example.
./configure --prefix=/usr
By default as well, pkgconfig doesn't search /usr/local/lib/pkgconfig and you have to explicitly add it to your PKG_CONFIG_PATH like you did.
ok differnet problem now. i need to install SDL_ttf-2.0.7 and i installed it in /lib and now when i configure it cant find where i installed it. where should i install it?
What do you mean you installed it in /lib... /lib is suppose to be used for libraries that are needed at startup. SDL_ttf shouldn't be installed there, /usr/lib is a good for it. You'll download the file, uncompress it, then run
./configure --prefix=/usr
After which you'll run make && su -c 'make install'
After this you may need to run ldconfig as root
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.