Skip to content

libmodsecurity packaging issues #1083

@omadjoudj

Description

@omadjoudj

Please note that libmodsecurity seems to force the installation of the library in $PREFIX/lib even on 64 bit systems (should be $PREFIX/lib64).

Tried to force it via --libdir= , but still installs in $PREFIX/lib [See Output 1]

There's also an installed binary named test which clashes with coreutils test [Output 2]

Output 1:

make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/athmane/rpmbuild/BUILDROOT/libmodsecurity-3.0-0.gitf44143.fc23.x86_64/usr/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libmodsecurity.la '/home/athmane/rpmbuild/BUILDROOT/libmodsecurity-3.0-0.gitf44143.fc23.x86_64/usr/lib'
libtool: install: /usr/bin/install -c .libs/libmodsecurity.so.3.0.0 /home/athmane/rpmbuild/BUILDROOT/libmodsecurity-3.0-0.gitf44143.fc23.x86_64/usr/lib/libmodsecurity.so.3.0.0

...
...



RPM build errors:
    File not found: /home/athmane/rpmbuild/BUILDROOT/libmodsecurity-3.0-0.gitf44143.fc23.x86_64/usr/lib64/*.so.*

Output 2:

error: Installed (but unpackaged) file(s) found:
   /usr/bin/test
   /usr/lib64/libmodsecurity.la


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/bin/test
   /usr/lib64/libmodsecurity.la

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions