Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

libffi.so.7 (no such package) #353

Open
kosuke320 opened this issue Jun 9, 2021 · 0 comments
Open

libffi.so.7 (no such package) #353

kosuke320 opened this issue Jun 9, 2021 · 0 comments

Comments

@kosuke320
Copy link

I ran "docker build. -t openmbee/mms" in "Open-MBEE / mms-alfresco / mms-ent / docker".
But the build failed.
Below is the build log.

fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
so:libffi.so.7 (no such package):
required by: cabal-3.2.0.0-r0[so:libffi.so.7]
The command '/bin/sh -c apk upgrade --update && apk add --no-cache --virtual .build-deps $BUILD_DEPS && apk add --no-cache --virtual .persistent-deps $PERSIST_DEPS && update-ms-fonts && fc-cache -f && curl -fsSL "$PLANTUML_DOWNLOAD_URL" -o /usr/local/plantuml.jar && apk add --no-cache --virtual .edge-deps $EDGE_DEPS -X http://dl-cdn.alpinelinux.org/alpine/edge/community && curl -fsSL "$PANDOC_DOWNLOAD_URL" | tar -xzf - && ( cd pandoc-$PANDOC_VERSION && cabal update && cabal install --only-dependencies && cabal configure --prefix=$PANDOC_HOME && cabal build && cabal copy && cd .. ) && rm -Rf pandoc-$PANDOC_VERSION/ && rm -Rf /root/.cabal/ /root/.ghc/ && rm -Rf /pandoc-build && mkdir -p /var/docs' returned a non-zero code: 3

Please tell me how to avoid failure.

My environment is CentOS7.
I ran the following command.
"sudo ln -s libffi.so.6 /lib64/libffi.so.7"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant