[GH-ISSUE #11] Compilation fails in Centos 6.2 #8

Closed
opened 2026-05-05 11:23:46 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @ngiraldo on GitHub (Oct 16, 2015).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/11

Originally assigned to: @jmcnamara on GitHub.

As described.

Please inform us in which versions of CentOS does the library work.

Originally created by @ngiraldo on GitHub (Oct 16, 2015). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/11 Originally assigned to: @jmcnamara on GitHub. As described. Please inform us in which versions of CentOS does the library work.
gitea-mirror 2026-05-05 11:23:46 -06:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jmcnamara commented on GitHub (Oct 16, 2015):

Can you add a trace of the build failure.

<!-- gh-comment-id:148564623 --> @jmcnamara commented on GitHub (Oct 16, 2015): Can you add a trace of the build failure.
Author
Owner

@ngiraldo commented on GitHub (Oct 16, 2015):

Hello, I'm not at the office until tomorrow.

I just remember that's not the library itself failing, but the minizip dependency, which in CentOS can be installed via yum.

<!-- gh-comment-id:148587543 --> @ngiraldo commented on GitHub (Oct 16, 2015): Hello, I'm not at the office until tomorrow. I just remember that's not the library itself failing, but the minizip dependency, which in CentOS can be installed via yum.
Author
Owner

@jmcnamara commented on GitHub (Oct 16, 2015):

The Getting Started guide explains that zlib 1.2.8 is required. Did you install that?

Snippet:

Install the dependencies

Zlib version 1.2.8 is the only (non-testing) dependency.

The easiest way to install zlib is from the source code:

curl -O -L  http://zlib.net/zlib-1.2.8.tar.gz
tar zxf zlib-1.2.8.tar.gz
cd zlib-1.2.8

./configure
make

sudo make install

On recent Debian Linux systems you can install the zlib development libraries using apt-get as follows:

sudo apt-get install -y zlib1g-dev

However, you need to ensure that the version is 1.2.8 or you will get zlib related compilation issues.

<!-- gh-comment-id:148652237 --> @jmcnamara commented on GitHub (Oct 16, 2015): The [Getting Started](http://libxlsxwriter.github.io/getting_started.html) guide explains that zlib 1.2.8 is required. Did you install that? Snippet: > **Install the dependencies** > > Zlib version 1.2.8 is the only (non-testing) dependency. > > The easiest way to install zlib is from the source code: ``` curl -O -L http://zlib.net/zlib-1.2.8.tar.gz tar zxf zlib-1.2.8.tar.gz cd zlib-1.2.8 ./configure make sudo make install ``` > On recent Debian Linux systems you can install the zlib development libraries using apt-get as follows: ``` sudo apt-get install -y zlib1g-dev ``` > However, you need to ensure that the version is 1.2.8 or you will get zlib related compilation issues.
Author
Owner

@ngiraldo commented on GitHub (Oct 16, 2015):

I have no problems with Ubuntu.

In CentOS I have zlib-devel-1.2.3-29.el6.x86_64.

Will update to 1.2.8.

<!-- gh-comment-id:148751435 --> @ngiraldo commented on GitHub (Oct 16, 2015): I have no problems with Ubuntu. In CentOS I have zlib-devel-1.2.3-29.el6.x86_64. Will update to 1.2.8.
Author
Owner

@ngiraldo commented on GitHub (Oct 19, 2015):

Sorry, the issue is that Centos 6 has painfully old libraries.

It works fine with the manual zlib install.

<!-- gh-comment-id:149343665 --> @ngiraldo commented on GitHub (Oct 19, 2015): Sorry, the issue is that Centos 6 has painfully old libraries. It works fine with the manual zlib install.
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#8
No description provided.