You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM php:7.4.14-fpm-alpine3.12
RUN apk add -U --no-cache autoconf g++ file re2c make libtool musl-dev \
&& curl -sSLo libfastcommon.tar.gz 'https://github.com/happyfish100/libfastcommon/archive/V1.0.47.tar.gz' \
&& curl -sSLo libshmcache.tar.gz 'https://github.com/happyfish100/libshmcache/archive/V1.0.7.tar.gz' \
&& tar xzf libfastcommon.tar.gz && cd libfastcommon-* && ./make.sh && ./make.sh install && cd .. \
&& tar xzf libshmcache.tar.gz && cd libshmcache-*/src && make && make install \
# issue in the next step
&& cd tools && make && make install && cd ../.. \
&& cd php-shmcache && phpize && ./configure && make && make install
Gives error:
cc -g -O1 -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -o shmcache_set shmcache_set.c -lfastcommon -lshmcache -lpthread -ldl -I/usr/local/include
/usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../lib/libshmcache.so: undefined reference to `fc_strdup'
collect2: error: ld returned 1 exit status
make: *** [Makefile:15: shmcache_set] Error 1
Using below dockerfile:
Gives error:
Similar issues elsewhere:
The text was updated successfully, but these errors were encountered: