Runtime error about sox library in cocoa application
I am trying to sox library into my project and installed library using ./configure, make and make install and  linked to the libsox.dylib into my project.  I am not getting compiler error but getting run time error .

Now i am getting following error,

[Session started at 2010-03-03 17:33:44 +0530.]
dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib
  Referenced from: /usr/local/lib/libavformat.dylib
  Reason: no suitable image found.  Did find:
/usr/local/lib/libmp3lame.0.dylib: mach-o, but wrong architecture
/usr/local/lib/libmp3lame.0.dylib: mach-o, but wrong architecture

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).


So anyone please tell me exact procedure to install sox library into mac os.

Regards,
CocoaDev
Runtime error about sox library in cocoa application
===

I am trying to sox library into my project and installed library using ./configure, make and make install and  linked to the libsox.dylib into my project.  I am not getting compiler error but getting run time error .

Now i am getting following error,

[Session started at 2010-03-03 17:33:44 +0530.]
dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib
  Referenced from: /usr/local/lib/libavformat.dylib
  Reason: no suitable image found.  Did find:
/usr/local/lib/libmp3lame.0.dylib: mach-o, but wrong architecture
/usr/local/lib/libmp3lame.0.dylib: mach-o, but wrong architecture

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).


So anyone please tell me exact procedure to install sox library into mac os.

Regards,
CocoaDev