galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

Last commit has broken the instalation on CentOS7 #461

Open keklabs opened 2 years ago

keklabs commented 2 years ago

In my opinion this commit https://github.com/galkahana/HummusJS/commit/a526db60ac6216e75ac94a542fd2d7d1378bacf4

has rewriten the published binary

https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.110/node-v83-linux-x64-glibc.tar.gz

becase we have one container with hummus instaled more than 10 days ago and this container has

[root@d447d3a54e2d binding]# strings hummus.node | grep GLIBCXX GLIBCXX_3.4.6 GLIBCXX_3.4.9 GLIBCXX_3.4.15 GLIBCXX_3.4

and is working on CentOS7 where the last version is GLIBCXX_3.4.19

but current version requires [root@c35e0b799ece binding]# strings hummus.node | grep GLIBCXX GLIBCXX_3.4.20 GLIBCXX_3.4.9 GLIBCXX_3.4.21 GLIBCXX_3.4.15 GLIBCXX_3.4

and throws

Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /var/appserver/node_modules/hummus/binding/hummus.node)

from my point of view, the binary should not be republished but there shuld be published new version like /v1.0.111 with this commit, to have possibility to fix the dependency on specific version.

Thank you

adrianwijaya94 commented 2 years ago

same as me, I have the same issue too

I got this error when I have built nodejs in docker:

Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /var/appserver/node_modules/hummus/binding/hummus.node)

please help to fix this in version v.1.0.110

LJCandyCrush commented 2 years ago

same as me, now my solution is to use a lower hummus version 1.0.108 :(

Frank683 commented 2 years ago

@galkahana Is there any "official" communication regarding this "change". I thought this project is not supported anymore, so what's going on here? Breaking already released versions by exchanging some libs in the background is not the best way I think.

julianhille commented 2 years ago

please consider change to https://github.com/julianhille/MuhammaraJS it is actively maintained

JamesRBrown commented 2 years ago

@julianhille I just tried out MuhammeraJS, and it has the same problem.

JamesRBrown commented 2 years ago

@julianhille and I worked on this issue over on the MuhammaraJS project. Julian came up with a workaround, so if you're still dealing with this issue, you might want to go take a look at that thread: https://github.com/julianhille/MuhammaraJS/issues/158