Open Manu343726 opened 9 years ago
Also I tried to export LIBRARIES_PATH and LD_LIBRARIES_PATH as /usr/local/lib/gcc/x86_64-pc-linux-gnu/lib64/ and it only worked locally before deploying the image
Well done Manu! First it's LIBRARY_PATH
and second you did export
within the container shell, so of course env variable changes were not saved in the image.....
I'm not sure what's the cause (Maybe there's something wrong in the gcc
configure
invocation), butld
doesn't find the gcc libraries such asgcc
orgcc_s
. Also I tried toexport
LIBRARIES_PATH
andLD_LIBRARIES_PATH
as/usr/local/lib/gcc/x86_64-pc-linux-gnu/lib64/
and it only worked locally before deploying the image.As a provisional solution, add
-L/usr/local/lib/gcc/x86_64-pc-linux-gnu/lib64/
to you compiler invocation flags as therun.sh
script currently does.