I'm trying to compile libffi 64-bit in a SLES-11 docker container.
The configure & make lines are dead simple:
./configure --prefix=/opt/<prog>/ --libdir=/opt/<prog>/lib
make
make install
Now libtool in its glory decides to install the .so's like this:
/opt/<prog>/lib/../lib64/libffi.so
Whats the magic trick to get rid of the ../lib64 part?