Re: [Cppcms-users] ICU lib error in building cppcms 64bit environment
Brought to you by:
artyom-beilis
From: Aris S. <ari...@gm...> - 2010-08-29 12:49:10
|
Before I install my own ICU, there were ICU library in my "/usr/lib64" folder, but when I run "make" in my "cppcms/buil" folder, there is an error explain that some dynamic library need libicuuc.a (a static library). I have remove all libicu*.a and libicu*.so which I just install in case to repeat that error. They are: root@aris-laptop:/opt/cppcms/build# cmake .. -- Looking for ICU libraries -- ICU Found, building booster locale -- Configuring done -- Generating done -- Build files have been written to: /opt/cppcms/build root@aris-laptop:/opt/cppcms/build# make make[2]: *** No rule to make target `/usr/lib/libicuuc.a', needed by `booster/libbooster.so.0.0.0'. Stop. make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 make: *** [all] Error 2 Because of errors above, then I build my own ICU to get static ICU library. I'm new in linux programming and manual compiling. It is not normal when a dynamically library links against static archives, isn't it? What about -fPIC errors? I have ubuntu-amd 64-bit environment. In this link: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3#doc_chap7 , descibed about -fPIC errors and explained that on certain architectures (AMD64 amongst them), shared libraries must be "PIC-enabled". The error produced by "-fPIC errors" is similar to my error. How do you think? Thanks -Aris |