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.
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.
inside this directory there are .so and .a files. How can I install these files on my system? where should I copy them?
I tried copying them in /usr/lib32 and added this path to ld.so.conf with ldconfig. but it had no effect.
what is your opinion?
Edit: I could some the error I was received ragarding undefined references to functions by copying .a library and adding it directly to my program. what does it work in this case and not in the previous case?
Last edited by saman_artorious; 09-09-2013 at 07:01 AM.
Are you sure you have got the right package for your OS ?
Specifying your OS : 1) $ uname -m <Enter>
2) $ cat /etc/issue <Enter>
contains 32bits compatibility libraries for a 64bits OS, I guess.
?? What did you download ?? A package name and a link, please.
I downloaded libjpeg-turbo-official32_1.3.0_amd64 and not 1.3.0_i386.deb. It is also the second link in the address you referenced. However, is it is also not compatible with /usr/lib32 then how come it is working fine when I added the .a library to my program source as an external library?
if your machine is running a 32bit OS then you want the i386 file not the amd64 download. The easiest thing to do is probably to download the i386 .deb and then install it with "dpkg -i". However since you have not told us what os and version you are using*, there may be a better way.
* Am assuming some version of Ubuntu or derivative.