[GH-ISSUE #425] Linker error when trying to use latest version with macOS project #335

Closed
opened 2026-05-05 12:10:15 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @duncangroenewald on GitHub (Dec 23, 2023).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/425

I have been using v1.0.5 of this library for some time and decided to upgrade to the latest version to see if it would improve performance when writing the xls files.

However when replacing the source code and headers from the new version I now get a linker error as shown below.

Can someone shed some light on why this error might be occurring.

Thanks

ld: Undefined symbols:
_lxw_table_assemble_xml_file, referenced from:
__write_table_files in packager.o
_lxw_table_free, referenced from:
__write_table_files in packager.o
__write_table_files in packager.o
_lxw_table_new, referenced from:
__write_table_files in packager.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Originally created by @duncangroenewald on GitHub (Dec 23, 2023). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/425 I have been using v1.0.5 of this library for some time and decided to upgrade to the latest version to see if it would improve performance when writing the xls files. However when replacing the source code and headers from the new version I now get a linker error as shown below. Can someone shed some light on why this error might be occurring. Thanks ld: Undefined symbols: _lxw_table_assemble_xml_file, referenced from: __write_table_files in packager.o _lxw_table_free, referenced from: __write_table_files in packager.o __write_table_files in packager.o _lxw_table_new, referenced from: __write_table_files in packager.o clang: error: linker command failed with exit code 1 (use -v to see invocation)
Author
Owner

@duncangroenewald commented on GitHub (Dec 23, 2023):

Ignore this - I didn't realise there is a new table.c file in the source code.

<!-- gh-comment-id:1868194547 --> @duncangroenewald commented on GitHub (Dec 23, 2023): Ignore this - I didn't realise there is a new table.c file in the source code.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#335
No description provided.