Skip to content

undefined symbol xlSheetRowHeightPx with libxl 3.8.2 #27

Description

@rbro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions