: error: libpcre32 is requred. netxms server installation on redhat 6.7

Started by Ruben S P, March 01, 2021, 10:44:10 PM

Previous topic - Next topic

Ruben S P

I hope you  could help me

I'm trying to install netxms server version 3.6.252 in Red Hat Enterprise Linux Server release 6.7 (Santiago) x86_64. I'm using a tar.gz file. The command configure that I use is:

sh ./configure --prefix=/home/oasisadm/Netxms_server/netxms-3.7.116 --with-server --with-odbc --with-oracle --with-nxhttpd --enable-encyption --with-openssl --without-curl

the system send me the next message after to use the comand ./configure  is

checking whether iconv supports UTF-16... yes
checking whether iconv supports UCS-4-INTERNAL... no
checking whether iconv supports UCS-4... yes
checking whether iconv supports UCS4... yes
checking whether iconv supports UCS-4BE... yes
checking whether iconv supports UCS-4LE... yes
checking whether iconv supports UTF-32... yes
checking whether iconv supports //IGNORE... yes
checking whether iconv supports state reset... yes
checking for iconv declaration...
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
checking for pcre32_compile in -lpcre32... no
configure: error: libpcre32 is requred.

I was looking for the files of pcre library and these realy are in my system:

/usr/lib/libpcre.so.0.0.1
/usr/lib/libpcre.so.0
/usr/lib64/libpcre.so.0.0.1
/usr/lib64/libpcre.so.0
/usr/lib/libpcreposix.so.0.0.0
/usr/lib/pkgconfig/libpcre.pc
/usr/lib/pkgconfig/libpcrecpp.pc
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcre.so
/usr/lib/libpcrecpp.so
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcreposix.so
/usr/lib/vmware/libpcre.so.1
/usr/lib/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.0
/usr/lib64/pkgconfig/libpcre.pc
/usr/lib64/pkgconfig/libpcrecpp.pc
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcre.so
/usr/lib64/libpcrecpp.so
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcreposix.so
/usr/lib64/libpcreposix.so.0
/usr/local/pcre/libpcre.so.1
/usr/local/pcre/libpcre32.so.0
/usr/local/pcre/libpcrecpp.so
/usr/local/pcre/libpcrecpp.so.0
/usr/local/pcre/libpcre.so.1.2.3
/usr/local/pcre/libpcreposix.so
/usr/local/pcre/libpcre16.so.0.2.3
/usr/local/pcre/libpcre16.so.0
/usr/local/pcre/libpcre32.so.0.0.3
/usr/local/pcre/8.35/lib64/libpcre.so.1
/usr/local/pcre/8.35/lib64/libpcre32.so.0
/usr/local/pcre/8.35/lib64/libpcre.so.1.2.3
/usr/local/pcre/8.35/lib64/libpcre16.so.0.2.3
/usr/local/pcre/8.35/lib64/libpcre16.so.0
/usr/local/pcre/8.35/lib64/libpcre32.so.0.0.3

looking for in different support pages where mentions a similar problem of pcre library. Proposes use --with-pcre=/path in command ./configure, in my case was:

sh ./configure --prefix=/home/oasisadm/Netxms_server/netxms-3.7.116 --with-server --with-odbc --with-oracle --with-nxhttpd --enable-encyption --with-openssl --without-curl --with-pcre=/usr --with-pcre32=/usr

oor with options like:

--with-pcre=/usr/lib/
--whith -pcre32=/usr/local/pcre/8.35/

and other combinations, and other combinations, but the result is same.

Otra solución propuesta fue agregar la ruta de los archivos pcre en una variable de entorno, por ejemplo en LD_LIBRARY_PATH. But unfortunately the result is same.

Also I uninstalled the pcre package and install again the package but I could not obtain another result.

I don't know if its the version of netxms, or my system or the pcre package. I hope you could help me please