This is still a kind of hazy topic. The current standards are not very clear 
about this.

Here is what I have been doing. It may not be correct, but it seems to work.

- I completely ignore a /usr/lib32 subdir.
- On 32 bit systems shared files go into /usr/lib
- On 64 bit systems shared files go into /usr/lib64

It still works if you always put 64 bit shared files into /usr/lib, but if you 
have a product that requires both 32 and 64 bit libraries then you have to 
separate them somehow.

Oh, and 32 bit applications NEVER look in /usr/lib64 to resolve library 
references.

David Ashley

On 08/11/2010 08:44 AM, Rony G. Flatscher wrote:
> David:
>
> when running a 64-bit Linux system there are (on Ubuntu64) /usr/lib,
> /usr/lib32 and /usr/lib64 available.
>
> Now, where should I put the 32- (into /usr/lib32 ?) and 64-bit (into
> /usr/lib64) libBSFooRexx.so, and in addition the version that should get
> used into /usr/lib ?
>
> Currently, if a 64-Bit ooRexx is detected, then only the 64-bit so is
> linked from the installation directory into /usr/lib, and if the 32-bit
> version of ooRexx is detected, then the 32-bit so is linked into /usr/lib.
>
> So far I have never used /usr/lib32 or /usr/lib64, so I am wondering,
> where one is supposed to install the shared libraries to? Would it be
> o.k. to leave it this way (just linking the appropriate so into
> /usr/lib), or should I link (in addition?) to /usr/lib32 and /usr/lib64?
>
> TIA for any hints/insights,
>
> ---rony
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to