Closed ofaaland closed 6 days ago
Alvaro also reported this while troubleshooting an earlier issue, https://github.com/LLNL/lmt/issues/67:
strings /usr/sbin/lmtinit | grep ERROR
ERROR: unexpected arguments, have %d expected %d
ERROR: one of these must be enabled: -a -d -l -x -o (%d,%d,%d,%d,%d)
When I use the strings
utility on lmtinit
, I have mariadb
related strings found, like this:
$strings utils/lmtinit | grep ERROR
ERROR: unexpected arguments, have %d expected %d
ERROR: one of these must be enabled: -a -d -l -x -o (%d,%d,%d,%d,%d)
MARIADB_CONNECTION_ERROR_ID
MARIADB_CONNECTION_ERROR
MARIADB_CLIENT_ERRORS
I suspect that Alvaro's build may not have had mariadb enabled in ./configure
@alvaromartin990 I believe that mysql/mariadb may not have been enabled (or were not detected) when you ran ./configure
.
What OS and version are you building LMT on?
What arguments, if any, did you give when running ./configure
?
What output do you get from these commands?
# from within your build directory
grep -e MYSQL -e MARIA config.log
# on the system you build on, and also the system you have installed lmt on
rpm -qa | grep -i -e mariadb -e mysql | grep connect | sort
thanks!
Closing as dupe of #70
User Alvaro reported that after building and installing LMT, and trying to initialize the database, he got this error:
and