Sunday, June 11, 2006

I've not seen these listed related to Mac stuff elsewhere, so I'm posting here in hopes that next time I have this problem and I have forgotten how to fix it I'll be able to Google it and find this...

I was building ffmpeg from source into static libs, then working on building those into something else. Somewhere along the line I got the error

/usr/bin/ld: staticLibs/libavcodec.a(mem.o) has local relocation entries in non-writable section (__TEXT,__symbol_stub1)

the fix is to add "-read_only_relocs suppress" to OTHER_LDFLAGS, and then you should be sitting pretty. I'm betting this isn't a good setting to need on, but at least it makes the build happen.

0 Comments:

Post a Comment

<< Home