[sr-dev] library dir for x86_64 - lib or lib64

Jan Janak jan at ryngle.com
Thu Mar 31 23:09:59 CEST 2011


If you are unsure which way is better, my recommendation would be
follow the Linux Standard Base (LSB). IIRC it recommends using lib64
in this case.

-Jan

On Thu, Mar 31, 2011 at 7:07 AM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> Hello,
>
> iirc this was at some point discussed, however, I want to go through it
> again.
>
> Many x86_64 distros expect libraries to be placed under a lib64 directory.
> For example the RPM spec file language returns /usr/lib64 for %{_libdir}
> variable.
>
> In the master branch I committed a patch that does this detection.
>
> As I saw some people saying that 'lib' should be the default also for
> x86_64, my question is then what do you think we should use?
>
> Using 'lib' will definitely make building rpms fail unless we do a patch
> specific for these distros.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>



More information about the sr-dev mailing list