Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not found my_global.h on configure #4

Closed
Joungkyun opened this issue May 22, 2016 · 3 comments
Closed

can not found my_global.h on configure #4

Joungkyun opened this issue May 22, 2016 · 3 comments
Assignees
Milestone

Comments

@Joungkyun
Copy link
Owner

Joungkyun commented May 22, 2016

If mysql prefix is not /usr, can not found my_global.h

[root@host lib_mysqludf_aes256-1.0.3]$ ./configure --with-mysql=/opt/mysql-5.5.40
...
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking my_global.h usability... no
checking my_global.h presence... no
checking for my_global.h... no
configure: error: You must need my_global.h file to build this udf.

This issue is reported at https://oops.org/SERVICE/jsboard/read.php?table=jsboard_oopsQnA&no=53450 by 김대홍 <srpro3 AT paran.com>

@Joungkyun Joungkyun self-assigned this May 22, 2016
@Joungkyun Joungkyun added this to the 1.0.4 milestone May 22, 2016
@AntoineBouquetSully
Copy link

AntoineBouquetSully commented Feb 10, 2021

Hi, what's the solution to that ?

I have the same problem but with using /opt as mysql prefix

./configure --with-mysql=/usr --with-mysql-config=/usr/bin/mysql_config

@Joungkyun
Copy link
Owner Author

Joungkyun commented Feb 10, 2021

Hi, @AntoineBouquetSully

What is your build environment?
Sorry, but there is nothing I can refer to for answers or corrections.

  • mysql or mariadb version
  • mysql installation location or prefix
  • lib_mysqludf_ase256 version
  • Build os and version
  • and so on...

This issue has been closed. Please register as a new issue and leave this issue as a reference link.

Hi, what's the solution to that ?

I have the same problem but with using /opt as mysql prefix

./configure --with-mysql=/usr --with-mysql-config=/usr/bin/mysql_config

@AntoineBouquetSully
Copy link

Hi, thanks for your answer.

Sorry I may have posted this question too quickly because I thank that it was unresolved.
I tried to use your lib in a MariaDB docker container (version 10.4) but I did not succeed, this docker image lacks of some .h files needed.

After that I succeeded to use your librairy in a standalone server with MariaDB installed properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants