Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.5, 10.2(EOL)
-
None
-
git log | head
commit 6315426565590982b096344df61cae4b64ab2eb0
Author: Sergei Golubchik <serg@mariadb.org>
Date: Fri Mar 31 19:56:15 2017 +0200
restore libmariadb state
that was destroyed in a previous commit
commit 124bae082bf17e9af1fc77f78bbebd019635be5c
Author: Marko Mäkelä <marko.makela@mariadb.com>
git log | head commit 6315426565590982b096344df61cae4b64ab2eb0 Author: Sergei Golubchik < serg@mariadb.org > Date: Fri Mar 31 19:56:15 2017 +0200 restore libmariadb state that was destroyed in a previous commit commit 124bae082bf17e9af1fc77f78bbebd019635be5c Author: Marko Mäkelä < marko.makela@mariadb.com >
Description
mkdir build
|
cd build
|
cmake .. -LAH
|
...
|
// creates libmysql* symbolic links
|
CONC_WITH_MYSQLCOMPAT:BOOL=ON
|
...
|
rm -f CMakeCache.txt
|
cmake .. -DCONC_WITH_MYSQLCOMPAT=1 ...
|
make -j4 V=1
|
rm -rf /usr/local/mariadb/
|
make install
|
note, NO SYMLINKS
ls -al /usr/local/mariadb/lib64/
|
total 840K
|
drwxrwxr-x+ 2 root root 4.0K Apr 1 17:49 ./
|
drwxrwxr-x+ 13 root root 4.0K Apr 1 17:47 ../
|
-rw-r--r--+ 1 root root 445K Apr 1 17:39 libmariadbclient.a
|
lrwxrwxrwx 1 root root 15 Apr 1 17:47 libmariadb.so -> libmariadb.so.3*
|
-rwxr-xr-x+ 1 root root 335K Apr 1 17:39 libmariadb.so.3*
|
-rw-r--r--+ 1 root root 22K Apr 1 17:39 libmysqlservices.a
|
checking sources
cd ../
|
rm -rf build
|
grep MYSQLCOMPAT `grep -rln MYSQLCOMPAT .`
|
./cmake/mariadb_connector_c.cmake:SET(CONC_WITH_MYSQLCOMPAT ON)
|
./libmariadb/CMakeLists.txt:FOREACH(V WITH_MYSQLCOMPAT WITH_MSI WITH_SIGNCODE WITH_RTC WITH_UNITTEST
|
?? ./libmariadb/CMakeLists.txt: ADD_OPTION(WITH_MYSQLCOMPAT "creates libmysql* symbolic links" ON)
|
trying instead
- cmake .. -DCONC_WITH_MYSQLCOMPAT=1 ...
|
+ cmake .. -DWITH_MYSQLCOMPAT=1 ...
|
|
make -j4 V=1
|
rm -rf /usr/local/mariadb/
|
make install
|
note, still NO SYMLINKS
ls -al /usr/local/mariadb/lib64/
|
total 816K
|
drwxrwxr-x+ 2 root root 4.0K Apr 1 19:14 ./
|
drwxrwxr-x+ 13 root root 4.0K Apr 1 19:14 ../
|
-rw-r--r--+ 1 root root 445K Apr 1 19:08 libmariadbclient.a
|
lrwxrwxrwx 1 root root 15 Apr 1 19:14 libmariadb.so -> libmariadb.so.3*
|
-rwxr-xr-x+ 1 root root 335K Apr 1 19:08 libmariadb.so.3*
|
-rw-r--r--+ 1 root root 22K Apr 1 19:08 libmysqlservices.a
|