Re: [Cppcms-users] error while loading shared libraries: libcppcms.so.1:
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-07-13 09:25:36
|
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) 3. Update system configuration so it would search in /usr/local/lib for libraries. In /etc/ld.so.conf and rerun ldconfig READ man of ldconfig CAREFULLY!!! This is something related to installation of general libraries from sources and not something CppCMS specific. Artyom ----- Original Message ---- > > At first, I thought it was a PATH problem, but it doesn't seem to be so: > > $ echo $PATH >/usr/local/bin:/home/overshoot/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/overshoot/bin:/home/overshoot/bin >n > > |