Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12423

install fails to create/install symlinks to mysqlclient compat libs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.5, 10.2
    • 10.2.7
    • Compiling, Server
    • None

    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
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            pgnd pgnd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.