On Wed, Feb 9, 2011 at 11:36 PM, Oliver Kullmann <O.Kullmann@swansea.ac.uk>
./ecl_min: error while loading shared libraries: libffi.so.4: cannot open shared object file: No such file or directory
The library is not in a standard location and it is shared, not static, which means that the OS has to find it. Do one of the following
1) Export LD_LIBRARY_PATH=location-to-the-library before building
2) Add some --rpath flags to LDFLAGS.
1) is just a temporary hack. 2) will hardcode the location of the library.
The libffi-built created libffi.so.5 --- why does it want an earlier version (there is no libffi-version
otherwise on that machine)?