fehQlibs

January 15, 2024 by Roberto Puzzanghera 1 comment

  • More info here
  • Version: fehQlibs-23

fehQlibs are supplementary C libraries by Erwin Hoffmann. They are needed for ucspi-tcp6 and ucspi-ssl.

Install as follows in /usr/local:

FEQLIBS_VER=23
cd /usr/local
wget https://www.fehcom.de/ipnet/fehQlibs/fehQlibs-${FEQLIBS_VER}.tgz
tar xzf fehQlibs-${FEQLIBS_VER}.tgz 
chown -R root:root fehQlibs-${FEQLIBS_VER}
cd fehQlibs-${FEQLIBS_VER}

Change the installation folder modifing the file conf-build as

LIBDIR=/usr/local/lib 
HDRDIR=/usr/local/include 

Compile and install:

make 
make shared
make install 

cd .. 
ln -s fehQlibs-${FEQLIBS_VER} qlibs

Since the qlibs have to be found when compiling ucspi-tcp6 we have to append them to our /etc/ld.so.conf

echo "/usr/local/qlibs" >> /etc/ld.so.conf
ldconfig

Comments

fehQlibs *.so is not installed by "make install"

fehQlibs *.so is not installed by "make install".

Instaed of 

cd .. 
ln -s fehQlibs-19 qlibs
echo "/usr/local/qlibs" >> /etc/ld.so.conf
ldconfig

copying *.so to /usr/local/lib would be better.

cp *.so /usr/local/lib

Alpine linux's ldconfig refuses to add new lib path. Copying *.so to /usr/local/lib worked.

Reply |