> > >> Gesendet: Donnerstag, 12. August 2021 um 11:44 Uhr >> Von: "Simon Matter via pound" <pound@apsis.ch> >> An: "reverse proxy and load balancer" <pound@apsis.ch> >> Cc: "Simon Matter" <simon.mat...@invoca.ch>, fatcha...@gmx.de >> Betreff: Re: [pound] pound 3 on CentOS 8.4 >> >> > >> > >> >> Gesendet: Donnerstag, 12. August 2021 um 10:27 Uhr >> >> Von: "Simon Matter via pound" <pound@apsis.ch> >> >> An: "reverse proxy and load balancer" <pound@apsis.ch> >> >> Cc: "Simon Matter" <simon.mat...@invoca.ch>, fatcha...@gmx.de >> >> Betreff: Re: [pound] pound 3 on CentOS 8.4 >> >> >> >> > inline reply >> >> > >> >> >> Gesendet: Mittwoch, 11. August 2021 um 17:05 Uhr >> >> >> Von: "Simon Matter via pound" <pound@apsis.ch> >> >> >> An: "reverse proxy and load balancer" <pound@apsis.ch> >> >> >> Cc: "Simon Matter" <simon.mat...@invoca.ch>, fatcha...@gmx.de >> >> >> Betreff: Re: [pound] pound 3 on CentOS 8.4 >> >> >> >> >> >> Hi, >> >> >> >> >> >> > Hi, >> >> >> > >> >> >> > I'm trying to install the latest pound 3 on a CentOS 8.4.2105 >> >> >> > 4.18.0-305.10.2.el8_4.x86_64. >> >> >> > All required packages and often also their devel-packages have >> been >> >> >> > installed, only the nanomsg library had to be build on the >> system. >> >> >> > The pound compilation worked without any error, but when I start >> >> >> pound, I >> >> >> > get the following error: >> >> >> > >> >> >> > [root@pound31 build]# ./pound >> >> >> > ./pound: error while loading shared libraries: libnanomsg.so.5: >> >> cannot >> >> >> > open shared object file: No such file or directory >> >> >> > >> >> >> > but the object is installed: >> >> >> > >> >> >> > root@pound31 build]# find / -name libnanomsg.so.5 >> >> >> > /root/nowhere/nanomsg/nanomsg-master/build/libnanomsg.so.5 >> >> >> > /usr/local/lib64/libnanomsg.so.5 >> >> >> >> >> >> Can you please show us the output of >> >> >> >> >> >> ldd pound >> >> >> >> >> > [root@pound31 build]# ldd pound >> >> > linux-vdso.so.1 (0x00007ffd55a94000) >> >> > libyaml-0.so.2 => /lib64/libyaml-0.so.2 >> (0x00007f089779c000) >> >> > libnanomsg.so.5 => not found >> >> > libpthread.so.0 => /lib64/libpthread.so.0 >> (0x00007f089757c000) >> >> > libmbedcrypto.so.3 => /lib64/libmbedcrypto.so.3 >> >> > (0x00007f0897317000) >> >> > libmbedx509.so.0 => /lib64/libmbedx509.so.0 >> >> (0x00007f08970f7000) >> >> > libmbedtls.so.12 => /lib64/libmbedtls.so.12 >> >> (0x00007f0896ec8000) >> >> > libpcreposix.so.0 => /lib64/libpcreposix.so.0 >> >> (0x00007f0896cc5000) >> >> > libc.so.6 => /lib64/libc.so.6 (0x00007f0896900000) >> >> > /lib64/ld-linux-x86-64.so.2 (0x00007f08979bc000) >> >> > libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f089668f000) >> >> > >> >> > >> >> > >> >> >> ls -l /usr/local/lib64/libnanomsg.so.5 >> >> >> >> >> > [root@pound31 build]# ls -l /usr/local/lib64/libnanomsg.so.5 >> >> > lrwxrwxrwx. 1 root root 19 Aug 6 15:00 >> >> /usr/local/lib64/libnanomsg.so.5 >> >> > -> libnanomsg.so.5.1.0 >> >> >> >> And this? >> >> >> >> ls -l /usr/local/lib64/libnanomsg.so.5.1.0 >> >> >> > [root@pound31 build]# ls -l /usr/local/lib64/libnanomsg.so.5 >> > lrwxrwxrwx. 1 root root 19 Aug 6 15:00 >> /usr/local/lib64/libnanomsg.so.5 >> > -> libnanomsg.so.5.1.0 >> >> No, I'd like to see >> >> ls -l /usr/local/lib64/libnanomsg.so.5.1.0 >> >> file /usr/local/lib64/libnanomsg.so.5.1.0 > Sorry: > [root@pound31 build]# ls -l /usr/local/lib64/libnanomsg.so.5.1.0 > > -rwxr-xr-x. 1 root root 384704 Aug 11 13:26 > /usr/local/lib64/libnanomsg.so.5.1.0 > > [root@pound31 build]# file /usr/local/lib64/libnanomsg.so.5.1.0 > > /usr/local/lib64/libnanomsg.so.5.1.0: ELF 64-bit LSB shared object, > x86-64, version 1 (SYSV), dynamically linked, > BuildID[sha1]=24a7ecdaab9d8440a7f593e77850d4369c5f8b88, not stripped
And this LD_LIBRARY_PATH=/usr/local/lib64 ldd pound If ldd shows here that it picks up libnanomsg.so.5, then the problem is that your library path doesn't include "/usr/local/lib64". Regards, Simon -- pound mailing list pound@apsis.ch https://admin.hostpoint.ch/mailman/listinfo/pound_apsis.ch