[CWB] Linux dependencies of CWB::CL

Hardie, Andrew a.hardie at lancaster.ac.uk
Tue Aug 25 17:16:50 CEST 2026


Hi all (especially Stephanie)

I recently had to rebuild & reinstall the CWB-Perl modules and found that CWB::CL had some odd behaviour with regard to the libraries it depended on, with error messages not previously seen.

(This is on Debian forky).

Basically, compilation failed with the message that some library was not available; however, checking showed that the libraries were  installed on the system. The libraries in question were libcrypt and libglib2.

What I worked out eventually is that, for the libraries in question, the Perl compiler was looking only for a library with the extension .so , but the OS package in question had only installed a .so.0 . You only got the .so file if you installed the corresponding -dev package. (actually both the .so and the .so.0 are symlinks to something with another name, but that's a whole other kettle of fish)

So once I installed libcrypt-dev and libglib2.0-dev everything worked as it did previously.

I'm making a record of this on the list in case this presages greater problems with having the right dependencies to build the CWB::CL module on Linux...

Andrew.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20260825/a1a44d85/attachment.html>


More information about the CWB mailing list