tags:

views:

362

answers:

0

I've begun using MinGW/MSYS in an attempt to use some Linux libraries on Windows. Using

./configure --prefix=/mingw 
make
make install

has worked well so far, but I've had two different libraries fail on 'make install', on an 'ln -s' call. It goes something like this:

rm -f /mingw/lib/libvamp-sdk.so.2
ln -s libvamp-sdk.so.2.0.0 /mingw/lib/libvamp-sdk.so.2
ln: creating symbolic link `/mingw/lib/libvamp-sdk.so.2' to `libvamp-sdk.so.2.0.0': No such file or directory
make: *** [install] Error 1

First of all, what is the intention of the makefile? /mingw/lib/libvamp-sdk.so.2.0.0 exists, so replacing the above 'ln -s' call with

ln -s /mingw/lib/libvamp-sdk.so.2.0.0 /mingw/lib/libvamp-sdk.so.2

will work, but I'm not sure if this is what the author had intended.

More importantly, why does this occur (I'm guessing it works fine on native Linux systems) and what's the easiest way to get around it? I could manually edit the makefile but I'm wondering if there's a better solution to this.

Many thanks for your input!