Mac OSX - Sanangeles - dyld: Symbol not found: _memmem

Showing 1-5 of 5 messages
Mac OSX - Sanangeles - dyld: Symbol not found: _memmem Victor Van Doom 11/24/12 2:22 AM
I am desperately trying to get the Android NDK running on my Mac OSX 10.6.8.
The problem occurs whenever I try to build the sanangeles sample-projekt (or any other). 

make: Entering directory `/Users/xxx/Development/android-ndk-r8c/samples/san-angeles/jni'
Compile thumb  : sanangeles <= importgl.c
SharedLibrary  : libsanangeles.so
collect2: ld terminated with signal 5 [Trace/BPT trap]
dyld: lazy symbol binding failed: Symbol not found: _memmem
  Referenced from: /Users/xxx/Development/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _memmem
  Referenced from: /Users/xxx/Development/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld
  Expected in: /usr/lib/libSystem.B.dylib

I am pretty sure that I put everything necessary into the PATH variable

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/libexec:/System/Library/CoreServices:/Developer/usr/bin:~/Development/android-ndk-r8c:~/Development/sdk/tools:~/Development/sdk/platform-tools:/usr/X11/bin

 and the lib it is expecting(libSystem.B.dylib) is also there. I've already used the NDK on my Mac before but had to reinstall it recently. So far I just installed the xcode development-kit (gcc, make, etc.), the android-sdk, the android-ndk and eclipse.

I really appreciate any hint you have to solve this little problem.

reg

Victor

Re: Mac OSX - Sanangeles - dyld: Symbol not found: _memmem Maria Astrinaki 11/27/12 9:07 AM
Hello,

i am having the same problem.. did you by any chance find any solution?

Maria
Re: Mac OSX - Sanangeles - dyld: Symbol not found: _memmem Rafael Spring 11/29/12 7:36 AM
Same problem here. Also running Mac OS X 10.6.8.
Re: Mac OSX - Sanangeles - dyld: Symbol not found: _memmem Shadowkepper 12/4/12 9:03 AM
Have a similar issue with our test systems.

Upgraded a 10.6.8 system to r8c and now tests are failing with

dyld: lazy symbol binding failed: Symbol not found: _memmem
  Referenced from: /opt/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _memmem
  Referenced from: /opt/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld
  Expected in: /usr/lib/libSystem.B.dylib


Shadowkepper
Re: Mac OSX - Sanangeles - dyld: Symbol not found: _memmem zell 12/12/12 4:13 AM
Same Problem here! 

I have SL 10.6.8 too

dyld: lazy symbol binding failed: Symbol not found: _memmem
  Referenced from: /Users/Alessandro/GameDevelopment/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _memmem
  Referenced from: /Users/Alessandro/GameDevelopment/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld
  Expected in: /usr/lib/libSystem.B.dylib


Il giorno martedì 4 dicembre 2012 18:03:44 UTC+1, Shadowkepper ha scritto: