Public bug reported:
I cannot compile the following code without adding header file search
path.
---
#include <mariadb/mysql.h>
int main() {
return 0;
}
---
$ gcc k.c
> In file included from k.c:1:0:
> /usr/include/mariadb/mysql.h:482:21: fatal error: my_stmt.h: No such file or
> directory
> compilation terminated.
(If I add option '-I/usr/include/mariadb', the compile will be
succeeded.)
This bug is fixed in upstream.
See commit 30ba4feaf7ee1770bb851aae133f7c15f16b4a1d in repository
[email protected]:MariaDB/mariadb-connector-c.git.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libmariadb2 2.0.0-1
ProcVersionSignature: Ubuntu 4.4.0-51.72-generic 4.4.30
Uname: Linux 4.4.0-51-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Mon Jul 3 11:27:38 2017
JournalErrors:
Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000']
failed with exit code 1: Hint: You are currently not seeing messages from other
users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
SourcePackage: mariadb-client-lgpl
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: mariadb-client-lgpl (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1702067
Title:
/usr/include/mariadb/mysql.h can't be used without adding search path
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-client-lgpl/+bug/1702067/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs