Re: [Cppcms-users] a fool-proof wiki! Re: error while loading shared libraries: libcppcms.so.1:
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-07-14 04:08:39
|
> > You have several options: > > > > 1. Simplest define environment variable > > > > export LD_LIBRARY_PATH=/usr/local/lib > > > > 2. Install CppCMS with prexix /usr (cmake -DCMAKE_INSTALL_PREFIX=/usr) > > > > > > (On Linux path for executables and shared libraries is different) > > > > Thank you Artyom, It works! > > I've added a small note in the wiki: > http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_build > This is not really correct, each user should decide where to install libraries, he may even want to install them to /opt/cppcms so he can easily remove them afterwards. Only packagers generally install to `/usr`. So I rolled back changed and added this to troubleshooting page with description of the issue so user can fix it even if library is installed into hist home directory. Generally most users that used any compiled library at least one know how to solve this issue/ Also the issue is common for every ELF platform like BSD, Solaris or Linux. > The people who will join this project and use cppcms will have varying degrees > > of experience. I obviously belong to the least experienced as far as compiling > > stuff is concerned, and I am sure that the extra information will help future > users. It'll save you time in the long run, because you won't have to answer > the same question twice. I agree, there lots of questions lately so updated FAQ is very useful! > > A bit about myself: I am an experienced web application developer. I have been > > programming in PHP for 10 years. I have professionally developed Drupal > modules and I know Drupal well (and that's precisely why I am interested in > cppcms!! ;) Drupal is a hog and performance is always an issue!) Your inputs would be more then wellcome. > > However, I have no experience at all with C++. The few times I have had to > compile stuff for my linux desktop computer, I simply followed blindly without > > understanding the instructions given with the software. > > Thus, it is often the simple things that seem obvious to you that I get stuck > with. I wish your project to be very successful and others like me are bound > to come, so documenting a bit more cannot hurt, I think. > CppCMS 0.99.1 is on beta stages so documentation is far from being complete, but it will be much better when the stable version will be released. > Since I am not (yet) a great C++ developer, the least I can do is help with > the wiki. This would be very useful, thanks, especially inputs from experienced web developer point of view - somebody who codes from other world. Regards, Artyom |