On Wednesday 28 September 2011, Raphael Manfredi wrote: > What is the difference between /lib32 and /lib64?
That seems to be the Debian way to put different (32 and 64 bit) versions of the same library into different places to avoid collisions, if I got that right. > Are you compiling for 32-bit or 64-bit CPUs? My system is natively 64-bit, and I usually compile things that way. It may be possible, however, that the build system chooses to do otherwise in this particular case, so I really don't know. > Is your system capable of running both 32-bit and 64-bit binaries? Yes, that is the whole point of having libraries twice. The original reason for this setup were proprietary browser plugins like Flash that are (or were) only available as 32-bit binaries. This induced the need to have the browser compiled as a 32-bit binary so that these third- party plugins can be used. And a 32-bit browser then needs a complete 32-bit library infrastructure. This is what Debian does when you install the corresponding packages on a 64-bit system. > To fix Configure, I need to understand whether I can simply add > /lib32 and /lib64 to the library search path. I really don't know, but I guess there should be an automatic way to determine the correct library path for the respective target binary type. > What does it mean to not have any libm in /lib64? How will 64-bit > programs using sin() be able to link? I also think this is really strange, which makes me think that I have not yet fully understood how Debian's library setup really works. The bulk of my system is definitely 64-bit, and all those programs obviously have no problem with math functions. Also, when I manually add the "-lm" switch to the command line of gtk-gnutella's final linking stage then everything works fine, even _without_ specifying an extra path or something. Hauke PS: I will be away for the next two weeks, so I will be slow to respond and not be able to try things on my computer. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel