[Olsr-dev] [PATCH v1 1/5] linux: use /usr/lib64 on 64bit machines
Hans-Christoph Steiner
(spam-protected)
Thu May 10 21:11:41 CEST 2012
/usr/lib64 was a temporary thing only for supporting having both 32-bit and 64-bit packages installed at the same time. In Debian at least, they've abstracted it away, so you only need to think about /usr/lib for situations like these.
I don't think we need this patch included in olsrd itself, I think it should just be /usr/lib. Then the packager should change it depending on the system they are packaging for.
.hc
On May 10, 2012, at 1:11 PM, Henning Rogge wrote:
> Just found the problem I think...
>
> Ubuntu (and most likely Debian too) have no /usr/lib64. Even on a 64 bit system.
>
> Henning
>
> On Thu, May 10, 2012 at 7:09 PM, Ferry Huberts <(spam-protected)> wrote:
>>
>>
>> On 10-05-12 18:53, Henning Rogge wrote:
>>>
>>> I think there was a reason why this was removed ages ago... but the
>>> reason might have died ages ago too.
>>>
>>> Is there still a distribution that does have 64 bit support but no
>>> /usr/lib64 directory?
>>>
>>
>> currently /usr/lib is used on all architectures.
>> this patch is to use /usr/lib64 on 64 bit
>>
>>
>>> Henning
>>> On Thu, May 10, 2012 at 4:09 PM, Ferry Huberts<(spam-protected)> wrote:
>>>>
>>>> From: Ferry Huberts<(spam-protected)>
>>>>
>>>> Signed-off-by: Ferry Huberts<(spam-protected)>
>>>> ---
>>>> make/Makefile.linux | 4 ++++
>>>> 1 files changed, 4 insertions(+), 0 deletions(-)
>>>>
>>>> diff --git a/make/Makefile.linux b/make/Makefile.linux
>>>> index e73be7c..a37110d 100644
>>>> --- a/make/Makefile.linux
>>>> +++ b/make/Makefile.linux
>>>> @@ -4,7 +4,11 @@
>>>>
>>>> ARCH := $(shell uname -m)
>>>> DESTDIR ?=
>>>> +ifeq ($(strip $(ARCH)),x86_64)
>>>> +LIBDIR = $(DESTDIR)/usr/lib64
>>>> +else
>>>> LIBDIR = $(DESTDIR)/usr/lib
>>>> +endif
>>>>
>>>> SRCS += $(wildcard src/linux/*.c src/unix/*.c)
>>>> HDRS += $(wildcard src/linux/*.h src/unix/*.h)
>>>> --
>>>> 1.7.7.6
>>>>
>>>>
>>>> --
>>>> Olsr-dev mailing list
>>>> (spam-protected)
>>>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>>>
>>>
>>>
>>>
>>
>> --
>> Ferry Huberts
>
>
>
> --
> Steven Hawkings about cosmic inflation: "An increase of billions of
> billions of percent in a tiny fraction of a second. Of course, that
> was before the present government."
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list