Hello,
I am trying to get SGE (SDL Graphics Extension) working on Mac OS X. SDL is
working perfectly it’s just SGE thats giving me trouble. Running make works
fine, but make install fails because OS X’s ‘ld’ doesn’t have the option
’-soname’. Has anyone had any success building SGE on OS X?
I am trying to get SGE (SDL Graphics Extension) working on Mac OS X. SDL is
working perfectly it’s just SGE thats giving me trouble. Running make works
fine, but make install fails because OS X’s ‘ld’ doesn’t have the option
’-soname’. Has anyone had any success building SGE on OS X?
The link line is a little different for Mac OS X…here’s an updated
Makefile. “make shared” will build libSGE.dylib, which, when linked
against, will be searched for in the same directory as the app’s binary
at runtime. It’ll still use the regular behaviour on Linux.
This builds…I haven’t tried to link it to any apps, though.
I am trying to get SGE (SDL Graphics Extension) working on Mac OS X. SDL is
working perfectly it’s just SGE thats giving me trouble. Running make works
fine, but make install fails because OS X’s ‘ld’ doesn’t have the option
’-soname’. Has anyone had any success building SGE on OS X?
The link line is a little different for Mac OS X…here’s an updated
Makefile. “make shared” will build libSGE.dylib, which, when linked
against, will be searched for in the same directory as the app’s binary
at runtime. It’ll still use the regular behaviour on Linux.
This builds…I haven’t tried to link it to any apps, though.
“make shared” will build libSGE.dylib, which, when linked
against, will be searched for in the same directory as the app’s binary
at runtime.
“dyld: rubyw-1.8.3 can’t open library: libSGE.dylib (No such file or directory,
errno = 2)
Trace/BPT trap”
Could this be a specific ruby error, or is it part of the SGE build?
That happens if the file isn’t somewhere the program can find it…in
this case, it has to be in the same directory as the application (that
can be corrected, that’s just how I wedged it into the makefile).