swrede/homebrew-formulas

spread formula only installs static libraries

Closed this issue · 2 comments

languitar@miles:~/work/src/rsb-cpp/build-master$ ll /usr/local/lib/libspread*
lrwxr-xr-x  1 languitar  admin    41B Apr 11 17:23 /usr/local/lib/libspread-core.a -> ../Cellar/spread/4.1/lib/libspread-core.a
lrwxr-xr-x  1 languitar  admin    36B Apr 11 17:23 /usr/local/lib/libspread.a -> ../Cellar/spread/4.1/lib/libspread.a

RSB however searches for dylibs.

Seems to be a problem in the installation phase:

/usr/bin/install -c -m 0755 libspread.2.0.1.dylib /usr/local/Cellar/spread/4.1/lib/libspread.2.0.1.dylib
/usr/bin/install -c -m 0755 libspread-core.2.0.1.dylib /usr/local/Cellar/spread/4.1/lib/libspread-core.2.0.1.dylib
/usr/bin/install -c -m 0755 libtspread-core.2.0.1.dylib /usr/local/Cellar/spread/4.1/lib/libtspread-core.2.0.1.dylib
install: /usr/local/Cellar/spread/4.1/lib/libspread.2.0.1.dylib: No such file or directory
make[1]: *** [install-libspread.dylib] Error 71
make[1]: *** Waiting for unfinished jobs....
install: /usr/local/Cellar/spread/4.1/lib/libspread-core.2.0.1.dylib: No such file or directory
install: /usr/local/Cellar/spread/4.1/lib/libtspread-core.2.0.1.dylib: No such file or directory
make[1]: *** [install-libspread-core.dylib] Error 71
make[1]: *** [install-libtspread-core.dylib] Error 71

The dylibs are actually build and available but reside in the libspread folder.

This bug also exists in 4.2. You have to ensure single-threaded builds or patch the makefile. See me last post on the spread mailing list.