PDA

View Full Version : Compile Errors


jpyou127
10-20-2015, 10:23 AM
Debian 8, Maria DB 10.1.

On compile I get this error:

No rule to make target '/usr/lib/libmysqlclient_r.so', needed by 'bin/shared_memory'

I am using MariaDB 10.1 and installed 'libmariadbclient-dev' in place of 'libmysqlclient-dev'. I am assuming I need to make a reference change in the CmakeList.txt. But, hesitant as to what reference I need to change it to.


Celestial

jpyou127
10-20-2015, 11:05 AM
Found a work around at least. Seems to be an issue that was fixed in Maria55 but not 10 yet.

Fix:

within /usr/lib change the symbolic link of libmysqlclient_r.so to libmysqlclient.so with this command "ln -sf libmysqlclient.so libmysqlclient_r.so"


Celestial

zhangshen147
10-27-2015, 09:50 PM
Very good experience!