Re: [Cppcms-users] can not install cppdb on Mac
Brought to you by:
artyom-beilis
From: Mohd H. <hel...@ya...> - 2017-01-16 03:10:35
|
Successfully installed. But get linker error when try some code. Cppdb::session get linker error. Sent from my iPhone > On 15 Jan 2017, at 3:53 AM, Joerg Sonnenberger <jo...@be...> wrote: > >> On Sat, Jan 14, 2017 at 04:05:58AM +0000, Mohd Helmi Mohd Shariff wrote: >> I want to install cppdb on my Mac running Mac OS Sierra. Build is ok but can't install into the directory. Here is the error: Install the project...-- Install configuration: "RelWithDebInfo"-- Installing: /usr/lib/libcppdb_sqlite3.0.3.1.dylibCMake Error at cmake_install.cmake:31 (file): file INSTALL cannot copy file "/Users/helmi/Downloads/cppdb/cppdb-trunk/build/libcppdb_sqlite3.0.3.1.dylib" to "/usr/lib/libcppdb_sqlite3.0.3.1.dylib". >> *I have tried with sudo make install but still the same. > > You must set a prefix outside /usr, that is verboten in recent OSX > versions for questionable "security" reasons. > > Joerg |