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

undefined symbol xlSheetRowHeightPx with libxl 3.8.2 #27

Open
rbro opened this issue Jan 24, 2024 · 1 comment · May be fixed by #31
Open

undefined symbol xlSheetRowHeightPx with libxl 3.8.2 #27

rbro opened this issue Jan 24, 2024 · 1 comment · May be fixed by #31

Comments

@rbro
Copy link

rbro commented Jan 24, 2024

Hi - I'm the same person that just submitted iliaal#289.

When trying to reproduce that issue with your fork, I ran into one issue that I wanted to raise:

I am running LibXL 3.8.2. I can build and compile the extension, but when I run a PHP script, I get an error:

Warning: PHP Startup: Unable to load dynamic library 'excel' (tried: /usr/lib64/php/modules/excel
(/usr/lib64/php/modules/excel: cannot open shared object file: No such file or directory),
/usr/lib64/php/modules/excel.so (/usr/lib64/php/modules/excel.so: undefined symbol: xlSheetRowHeightPx))
in Unknown on line 0

I was able to get around it by removing the colWidthPx and rowHeightPx functions in excel.c.

I see there are other places in excel.c where there are checks against LIBXL_VERSION. Would it be possible to do the same for these functions? I'm guessing they were added in a later version of LibXL.

Thanks for your help.

@xperseguers
Copy link

See https://www.libxl.com/changelog.html, this was added in LibXL 3.8.6.

xperseguers added a commit to xperseguers/php_excel that referenced this issue Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants