This fixed the build:
ln -s /usr/lib/x86_64-linux-gnu /usr/lib64/


чт, 11 июл. 2024 г. в 13:46, Denys Pozniak <denys.pozniak@gmail.com>:
Hello!
I'm trying to build standard deb packages for Kamailio v5.7.6 for Debian 12.6, but I get an error.
By the way, there are no problems with building v5.7.2 ...

#git clone --single-branch --branch 5.7.6 https://github.com/kamailio/kamailio.git /usr/src/kamailio
#cd /usr/src/kamailio && ln -s pkg/kamailio/deb/bookworm debian
#make cfg && RADCLI=1 make deb
....
Makefile.defs defs skipped
make[6]: 'libkamailio_ims.so.0.1' is up to date.
gcc -shared -g -m64 -Wl,-O2 -Wl,-E  -Wl,-z,relro -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions cmd.o ims_ipsec_pcscf_mod.o ipsec.o sec_agree.o spi_gen.o spi_list.o spi_list_tests.o  -lm -lmnl  -L../../lib/ims/ -lkamailio_ims -Wl,-rpath,/usr/src/kamailio/src/lib/ims -o ims_ipsec_pcscf.so
make[4]: Leaving directory '/usr/src/kamailio/src'
make[3]: Leaving directory '/usr/src/kamailio'
make[2]: Leaving directory '/usr/src/kamailio'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: Leaving directory '/usr/src/kamailio/src'

--

BR,
Denys Pozniak




--

BR,
Denys Pozniak