LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   [Debian 12 / Trixie] libgnurx devel somewhere? (https://www.linuxquestions.org/questions/debian-26/%5Bdebian-12-trixie%5D-libgnurx-devel-somewhere-4175730973/)

Michael Uplawski 11-17-2023 11:04 PM

[Debian 12 / Trixie] libgnurx devel somewhere?
 
Good morning

Upon installing Ruby-Filemagic (
Code:

gem install ruby-filemagic
) and building native extensions, an object “conftest” needs to be compiled.

The linker aborts with the message “cannot find -lgnurx: No such file or directory

Well, me neither.

This gem is one that I used frequently for years. Maybe they have updated it and this dependency is brand new.., I do not know.

I found a git repository for libgnurx, but it does not compile. The errors are too complicated for me to resolve, there is more stuff missing...

Does libgnurx exist for Debian and can you tell me, where I can get a functional version?

1nuxg33k 11-24-2023 10:03 PM

Do you have libmagic-dev installed?

Michael Uplawski 11-24-2023 11:30 PM

Had not. Have now.

Code:

Successfully installed ruby-filemagic-0.7.3
Parsing documentation for ruby-filemagic-0.7.3
Installing ri documentation for ruby-filemagic-0.7.3
Done installing documentation for ruby-filemagic after 1 seconds
1 gem installed

Darn. libmagic-dev was all that I needed.
8) Thank You 1nuxg33k.

I was spoiled by the gem tool installing so many dependencies automatically (especially when you mix up filemagic and ruby-filemagic) that there had not been a fiber of a consideration for another missing library.

It is “magic” in deed.


All times are GMT -5. The time now is 11:08 AM.