OSX libmirsdr_api.so unsupported file format?
Posted: Mon Oct 12, 2015 3:24 pm
Hi sdrplay or Tech Support,
we have the below problem when trying to link against the api library libmirsdr_api.so:
LD_RUN_PATH="/usr/local/lib" cc -mmacosx-version-min=10.9 -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector SDRPlay.o -o blib/arch/auto/K/SDRPlay/SDRPlay.bundle \
-L/usr/local/lib -lmirsdrapi-rsp \
ld: warning: ignoring file /usr/local/lib/libmirsdrapi-rsp.dylib, file was built for unsupported file format ( 0x62 0x6F 0x6F 0x6B 0x00 0x00 0x00 0x00 0x6D 0x61 0x72 0x6B 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /usr/local/lib/libmirsdrapi-rsp.dylib
ld: warning: ignoring file /usr/local/lib/libmirsdrapi-rsp.dylib, file was built for unsupported file format ( 0x62 0x6F 0x6F 0x6B 0x00 0x00 0x00 0x00 0x6D 0x61 0x72 0x6B 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (i386): /usr/local/lib/libmirsdrapi-rsp.dylib
The above linker invocation was performed by perl's ExtUtils::MakeMaker module which seems to not support library filenames ending with .so.
Because of this we made a symlink to libmirsdr_api.so named libmirsdr_api.dylib
OSX 10.9.5 64bit
Can you help with this?
Thanks,
jazzkutya
we have the below problem when trying to link against the api library libmirsdr_api.so:
LD_RUN_PATH="/usr/local/lib" cc -mmacosx-version-min=10.9 -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector SDRPlay.o -o blib/arch/auto/K/SDRPlay/SDRPlay.bundle \
-L/usr/local/lib -lmirsdrapi-rsp \
ld: warning: ignoring file /usr/local/lib/libmirsdrapi-rsp.dylib, file was built for unsupported file format ( 0x62 0x6F 0x6F 0x6B 0x00 0x00 0x00 0x00 0x6D 0x61 0x72 0x6B 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /usr/local/lib/libmirsdrapi-rsp.dylib
ld: warning: ignoring file /usr/local/lib/libmirsdrapi-rsp.dylib, file was built for unsupported file format ( 0x62 0x6F 0x6F 0x6B 0x00 0x00 0x00 0x00 0x6D 0x61 0x72 0x6B 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (i386): /usr/local/lib/libmirsdrapi-rsp.dylib
The above linker invocation was performed by perl's ExtUtils::MakeMaker module which seems to not support library filenames ending with .so.
Because of this we made a symlink to libmirsdr_api.so named libmirsdr_api.dylib
OSX 10.9.5 64bit
Can you help with this?
Thanks,
jazzkutya