My Linux .so
file can be opened with the fopen()
command in Ubuntu, but when I tried to open the file with the fopen()
command in Mac OS X 10.6, it failed.
The error was the file type was not recognized. How can I make a Linux library or tool work on Mac OS X 10.6 without recompilation?