prooph/docker-files

fix Alpine lib64 linking issue

Closed this issue · 8 comments

Any idea why this is needed?

git clone --branch ${RABBITMQ_VERSION} https://github.com/alanxz/rabbitmq-c.git /tmp/rabbitmq \
        && cd /tmp/rabbitmq \
        && mkdir build && cd build \
        && cmake .. \
        && cmake --build . --target install \

        # workaround for linking issue
        && cp -r /usr/local/lib64/* /usr/lib/ \

Librabbitmq from this distro seems to be outdated.

Am 14.10.2016 04:54 schrieb "Sandro Keil" notifications@github.com:

Any idea why this
https://github.com/prooph/docker-files/blob/master/php/7.0-cli#L65 is
needed?

git clone --branch ${RABBITMQ_VERSION} https://github.com/alanxz/rabbitmq-c.git /tmp/rabbitmq
&& cd /tmp/rabbitmq
&& mkdir build && cd build
&& cmake ..
&& cmake --build . --target install \

    # workaround for linking issue
    && cp -r /usr/local/lib64/* /usr/lib/ \


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYEvN_wnMNVCr_V8wRcvocGCxGR-lKFks5qzpqbgaJpZM4KWW5O
.

@prolic Have you any more details (which versions) or how to resolve this?

git clone git@github.com:alanxz/rabbitmq-c.git
cd rabbitmq-c
git checkout v0.7.1
autoreconf -i
./configure
make
make install

I'm not sure what you mean, because I use the latest v0.8.0 version.

Ok than I don't know what YOU mean. Is the question alpine Linux related?

Am 17.10.2016 04:20 schrieb "Sandro Keil" notifications@github.com:

I'm not sure what you mean, because I use the latest v0.8.0 version
https://github.com/prooph/docker-files/blob/master/php/7.0-cli#L4.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYEvOTeQVnnhDX8S38zZcIn7uBBKoMDks5q0ocOgaJpZM4KWW5O
.

Yes it's Alpine Linux related. I have to copy the files from /usr/local/lib64/* to /usr/lib/, otherwise I can't build some PHP extenstions like rabbitmq. I'm note sure how I can change the build path for this or add this path to the known directories.

Make symlinks, not copies. Rest is okay like that.

Am 18.10.2016 03:43 schrieb "Sandro Keil" notifications@github.com:

Yes it's Alpine Linux related. I have to copy the files from
/usr/local/lib64/* to /usr/lib/, otherwise I can't build some PHP
extenstions like rabbitmq. I'm note sure how I can change the build
path for this or add this path to the known directories.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYEvIqL-6d2eLVAdVe9ohwsCxjELzFaks5q08_2gaJpZM4KWW5O
.

Solved with symlink