readline Make Error in Mac OS X Lion
When I tried to install readline 6.2 under MacOS X Lion, I got the following error:
i686-apple-darwin11-llvm-gcc-4.2: -compatibility_version only allowed with -dynamiclib
make[1]: *** [libreadline.6.2.dylib] Error 1
make: [shared] Error 2 (ignored)
After searched google, I got this solution from http://www.iamseree.com/application-development/readline-6-2-make-error-in-mac-os-x-lion
It worked!
i686-apple-darwin11-llvm-gcc-4.2: -compatibility_version only allowed with -dynamiclib
make[1]: *** [libreadline.6.2.dylib] Error 1
make: [shared] Error 2 (ignored)
After searched google, I got this solution from http://www.iamseree.com/application-development/readline-6-2-make-error-in-mac-os-x-lion
cd shlibsed -e 's/-dynamic/-dynamiclib/' Makefile > Makefile.goodmv Makefile.good Makefilecd ..makesudo make install 
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home