[gdal-dev] make install fails

Vincent Schut schut at sarvision.nl
Thu Mar 3 06:27:53 PST 2016


On 03/03/16 11:31, Matthias Kuhn wrote:
> Hi,
>
> I am trying to compile and install gdal in docker (ubuntu 12.04)
> container with python3 and in a custom prefix (/home/travis/deps),
> clang-3.6 is used. configure and make run fine, however, make install fails:
>
> /bin/bash -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> -Wl,-Bsymbolic-functions -Wl,-z,relro
> build/temp.linux-x86_64-3.2/extensions/osr_wrap.o -L../../.libs -L../../
> -L/usr/src/gdal-2.0.2/lib -lgdal -o
> build/lib.linux-x86_64-3.2/osgeo/_osr.cpython-32mu.so
> /bin/bash: -d: invalid option
> error: command '/bin/bash' failed with exit status 1
>
> Any idea what could be the cause for this? I am grateful for any hints!
Hi Matthias,

I vaguely recollect running into a similar issue when I switched to clang from gcc. If I remember correctly, I resolved it by adding a "--without-libtool" to the configure options. I might be completely wrong (I did not take notes about this issue), but it might be worth trying.

Good luck!
Vincent.

>
> Thank you in advance,
> Matthias
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list