Install LIB error
pythonando
HOBBYOP

2 years ago

I have the following start command:

sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt install libc6 && export LD_LIBRARY_PATH=/opt/glibc-2.38/lib:$LD_LIBRARY_PATH && sudo apt-get install tesseract-ocr -y && sudo apt- get install tesseract-ocr-por -y && export TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata/ & celery -A core worker --beat -l INFO

But when trying to use tesseract I get this error:

tesseract: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/libpthread.so.0)")

I've already tried installing and exporting, but without success.

Closed

11 Replies

pythonando
HOBBYOP

2 years ago

3a064505-e21a-485a-9bdb-b6ffa7b1e9d4


pythonando
HOBBYOP

2 years ago

1313358408958738494


2 years ago

I would have to recommend you switch to a Dockerfile


pythonando
HOBBYOP

2 years ago

In the same project I have two services, the web and the worker. How to use Docker file only on Worker? In a way that does not affect the web service?


2 years ago

do they deploy from the same repo?


pythonando
HOBBYOP

2 years ago

Yes, it's the same repository


2 years ago

are these logs youve shown me for the worker or the web service?


pythonando
HOBBYOP

2 years ago

It's for the celery worker


2 years ago

then you can have a Dockerfile.worker and then point the worker service to use that dockerfile with RAILWAY_DOCKERFILE_PATH=Dockerfile.worker


pythonando
HOBBYOP

2 years ago

Thanks, where should I add RAILWAY_DOCKERFILE_PATH=Dockerfile.worker


2 years ago

as a service variable


Welcome!

Sign in to your Railway account to join the conversation.

Loading...