<@U017X0NM2E7> <@U016EM8L91B> I am trying to insta...
# magic
s
@Mitch Bailey @Tim Edwards I am trying to install magic on centos 7. I think I got everything (
./configure
did not complain about any missing libraries). But when I run
magic --version
, this message pops up -
couldn't load file "/usr/local/lib/magic/tcl/tclmagic.so": /usr/local/lib/magic/tcl/tclmagic.so: undefined symbol: gzerror
Can anyone of you help me to understand what I am missing here, please?
t
That's related to the new zlib code that allows magic to read and write gzip-compressed files. It sounds like the zlib library is not linked to the executable. If you recently updated by a git pull, then maybe try doing a "make clean" before re-running "make" and see if that corrects the issue.
s
No, its sill the same thing
t
@saicharan0112: I have modified the configure script and Makefile so that future builds should just add the "-lz" flag to the compile line instead of expecting zlib to be used by default. If it weren't for the default behavior on my system, I would have noticed that omission a week ago.
s
Thanks @Tim Edwards. I will give it a try once it is released.
t
@saicharan0112: I made an update (version 8.3.306) that just made things worse by my accidentally deleting a line from one of the makefile scripts, causing the compile to fail. Your CI caught the error, except that I didn't see the CI results until this morning, and didn't have time to track down and fix the error until now. Anyway, the version is now updated to 8.3.307, and don't use revision 306.
s
@Tim Edwards : noted!
@Tim Edwards: I just tested the magic 8.3.307 version. Its working without any hiccups!
t
Good to know, thanks!
🙌 1