Hi Andrew,

Thanks for helping with the issue.

Yes, you are right we are trying to compile for 64 bits.

It is a freshly built Red Hat Enterprise Linux Server release 7.3.

All required dependencies have been installed as per instructions in
proton INSTALL.md [1].

I am not sure how we ended-up with installed 32 bits libstdc++-devel
instead of 64 bits.
We will try to install libstdc++-devel-4.8.5-16.el7_4.2.x86_64 .

The package is not listed as required in INSTALL.md, I am curious
whether the instructions needs to be amended to include this package.

I am not sure what other 32 bits packages have been installed instead
of 64 bits. Is there a way to verify that all required 64bits
dependencies are installed for proton apart from running cmake/make
and dealing with compilation errors?

Kind Regards,
Alex

[1] https://github.com/apache/qpid-proton/blob/master/INSTALL.md

On 2 April 2018 at 19:49, Andrew Stitcher <astitc...@apache.org> wrote:
> On Mon, 2018-04-02 at 17:15 +0100, Oleksandr Rudyy wrote:
>> Hi Andrew,
>>
>> In Red Hat Enterprise Linux Server release 7.3 I found file
>> /usr/include/c++/4.8.2/i686-redhat-linux/bits/c++config.h which was
>> installed as part of libstdc++-devel.
>>
>> rpm -qf /usr/include/c++/4.8.2/i686-redhat-linux/bits/c++config.h
>> libstdc++-devel-4.8.5-16.el7_4.2.i686
>>
>> ' /usr/include/c++/4.8.2/cstddef' was installed as part of the same
>> package
>>
>> rpm -qf /usr/include/c++/4.8.2/cstddef
>> libstdc++-devel-4.8.5-16.el7_4.2.i686
>
> Are you compiling for 32 or 64 bits?
>
> That header file is for 32 bits, but it looks like your compile line is
> for 64 bits.
>
> You probably need the package libstdc++-devel-4.8.5-16.el7_4.2.x86_64
>
> Andrew
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to