The answer is that is just how Fedora distro is!
Fedora x86_64 installation installs 32  bit and 64 bit libs
in /lib + /usr/lib and /lib64 + /usr/lib64 respectively.
And I do not want to depart from this.
I have built other libs from source rpms. Since my compilation
env is 64 bit (I let that be the default); then upon installation,
the libs end up in /usr/lib64, and not /usr/lib.

I can override my 64 bit env to go 32 bit. And that works for
just about ever source rpm I have built and it produces 32 bit libs and get installed in /usr/lib.

I would like to know how to to enamble the xmms2 config/build/install scripts
to distinguish between a 32 bit compilation vs a 64 bit compilation,
and then install the libs in /usr/lib or /usr/lib64 accordingly.





Juho Vähä-Herttua wrote:
On 26.11.2008, at 23.34, JD wrote:
I did try that. All it "seems" to do is to use /usr/lib64 directly when it comes to link-loading the apps with libs that are outside of xmms2. Install still puts the xmms2 libs in /usr/lib :(


May I ask, if your system is 64-bit why the hell isn't /usr/lib pointing to your 64-bit libraries? I'm running 64-bit Ubuntu and my /usr directory looks as follows:

[EMAIL PROTECTED]:/usr$ ls -l |grep lib
drwxr-xr-x 258 root root 126976 2008-11-26 20:40 lib
drwxr-xr-x  34 root root  36864 2008-10-25 23:59 lib32
lrwxrwxrwx   1 root root      3 2007-10-12 15:13 lib64 -> lib

This is how any sane distribution should handle the 32-bit 64-bit hack if they want to provide support for having both types of libraries on the same system. I'm not sure how to edit the install dir of xmms2, but installing them to the lib directory is correct at least and your system is fucked up...


Juho



--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to