conda-forge / ctng-compilers-feedstock

A conda-smithy repository for ctng-compilers.
BSD 3-Clause "New" or "Revised" License
12 stars 25 forks source link

ldd wrapper? #110

Open hmaarrfk opened 1 year ago

hmaarrfk commented 1 year ago

Comment:

Would it be appropriate to provide our own custom commands for ldd?

When cross compiling, had trouble getting the ldd command to work.

https://github.com/conda-forge/libvips-feedstock/pull/72

My solution was to copy it from CONDA_BUILD_SYSROOT and update the location the shared libraries defined in RTLDLIST within the ldd bash script.

isuruf commented 1 year ago

That would only work when qemu is installed and configured. We would need something like https://github.com/crosstool-ng/crosstool-ng/blob/master/scripts/xldd.in for it to work everywhere.