-
Notifications
You must be signed in to change notification settings - Fork 14
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
fatal error: 'sqlcli1.h' file not found #27
Comments
What platform is this on? |
php 8.3, laravel 10, ubuntu server 22.04 |
How did you build and install the extension? |
Actually, what is the config.log you have? If it fails to find any library to use (for whatever reason), it won't add the headers. It should be popping up a more obvious error message though, so I'll add that. |
I have the same problem... @OrPh4ns did you manage to solve it? |
Post your config.log file - it's almost certainly an issue with an incorrectly specified path. |
This file contains any messages produced by compilers while It was created by configure, which was $ ./configure ---------Platform.---------hostname = primeweb /usr/bin/uname -p = x86_64 /bin/arch = x86_64 PATH: /usr/local/sbin/ -----------Core tests.-----------configure:2597: looking for aux files: ltmain.sh config.guess config.sub configure:3334: $? = 0 ----------------------Running config.status.----------------------This file was extended by config.status, which was CONFIG_FILES = on primeweb config.status:882: creating config.h ----------------Cache variables.----------------ac_cv_build=x86_64-pc-linux-gnu -----------------Output variables.-----------------AR='ar' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 0 |
If you run Also, configure should already print an error message if DB2 headers are not found. |
@rocarreno @OrPh4ns you could define an C include path when running any build command by prepending e.g. then it will compile the extension correctly |
While installing
/private/var/tmp/pear/temp/PDO_IBM/php_pdo_ibm_int.h:26:10: fatal error: 'sqlcli1.h' file not found
The text was updated successfully, but these errors were encountered: