25.06.2015, 16:07
Quote:
Код:
git clone --recursive https://github.com/pBlueG/SA-MP-MySQL.gi...3281364git checkout tags/R39-3 git submodule update cd boost_1_57_0/ sudo bash bootstrap.sh --prefix=/usr/local --with-libraries=system,chrono,thread,date_time,atomic,filesystem sudo ./b2 variant=release link=static threading=multi address-model=32 runtime-link=shared -j2 -d0 install cd .. sudo ldconfig make To compile the master branch, those commands stay mostly the same. Just remove the second and third command ("git checkout" and "git submodule") and execute these before "make": Код:
mkdir build cd build cmake .. |
Код:
Compiling plugin.. Compiling plugin SDK.. Linking (dynamic).. Linking (static).. /usr/bin/ld: cannot find -lmysqlclient_r collect2: ld returned 1 exit status make: *** [static_link] Error 1
Код:
libmysqlclient_r.so.16 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.16 libmysqlclient_r.so (libc6) => /usr/lib/mysql/libmysqlclient_r.so libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so libmysqlclient.so.16 (libc6) => /usr/lib/mysql/libmysqlclient.so.16 libmysqlclient.so (libc6) => /usr/lib/mysql/libmysqlclient.so