lmdb-dev

Issues related to applications and software problems
Post Reply
barry_devops
Posts: 8
Joined: 2019/02/08 19:02:45

lmdb-dev

Post by barry_devops » 2020/02/10 22:43:40

I need lmdb-dev for modsecurity. But looks like lmdb is not in the centos repos. I find it with google but not in the official repos. Why is so?

I downloaded lmdb-dev from the community rpms.

# rpm -ivh lmdb-devel-0.9.18-1.el7.x86_64.rpm
error: Failed dependencies:
liblmdb.so.0.0.0()(64bit) is needed by lmdb-devel-0.9.18-1.el7.x86_64
lmdb(x86-64) = 0.9.18-1.el7 is needed by lmdb-devel-0.9.18-1.el7.x86_64

What is this liblmdb.so.0.0.0 (has even no version)?

Any help on this? thanks.

barry_devops
Posts: 8
Joined: 2019/02/08 19:02:45

Re: lmdb-dev

Post by barry_devops » 2020/02/10 22:52:26

I found liblmdb. It's a different package than liblmdb-dev.

Is there a reason they are not part of official repos?

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: lmdb-dev

Post by TrevorH » 2020/02/10 23:47:32

mod_security is in the base repo for el7.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

barry_devops
Posts: 8
Joined: 2019/02/08 19:02:45

Re: lmdb-dev

Post by barry_devops » 2020/02/12 01:54:36

yeah but it's for apache, not for Nginx.

btw mod_security_crs is noarch package, it just installs ruleset for mod_security. I see it installs rules under /usr/lib/modsecurity.d/base_rules/ and enables them under /etc/httpd/modsecurity.d/activated_rules. If that enablement removed in the rpm it would be compatible with Nginx as well. User can enable whatever he wants.

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: lmdb-dev

Post by TrevorH » 2020/02/12 07:55:05

I would suspect that /etc/httpd/modsecurity.d/activated_rules is just a directory containing symlinks to the others so you'd just have to do the same thing for nginx.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

barry_devops
Posts: 8
Joined: 2019/02/08 19:02:45

Re: lmdb-dev

Post by barry_devops » 2020/02/13 01:22:43

yeah that's right but you know, I wanna keep my filesystem clean. so I have to clean these symlinks each time since I don't use Apache.

Btw I would appreciate if we had Nginx-mod_security rpm.

Thanks.

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: lmdb-dev

Post by TrevorH » 2020/02/13 07:28:54

We don't ship nginx on CentOS 7.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”