sergey-safarov left a comment (kamailio/kamailio#4580)
Here is content for `pkgconfig` files on CentOS 9
**/usr/lib64/pkgconfig/netsnmp.pc**
```
prefix=/usr
exec_prefix=/usr
includedir=/usr/include
libdir=/usr/lib64
Name: netsnmp (Net-SNMP)
Description: SNMP (Simple Network Management Protocol) daemon and applications.
URL: http://www.net-snmp.org
Version: 5.9.1
Cflags: -I${includedir}
Libs: -L${libdir} -lnetsnmp
Libs.private: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lm -lm -lssl -lssl -lcrypto
-Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
```
**/usr/lib64/pkgconfig/netsnmp-agent.pc**
```
prefix=/usr
exec_prefix=/usr
includedir=/usr/include
libdir=/usr/lib64
Name: netsnmp-agent (Net-SNMP)
Description: SNMP (Simple Network Management Protocol) sub-agent SDK.
URL: http://www.net-snmp.org
Version: 5.9.1
Cflags: -I${includedir}
Libs: -L${libdir} -lnetsnmpmibs -lnetsnmpagent -lnetsnmp
Libs.private: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lm -lsensors -lm -lrpm -lrpmio
-Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lm -lssl -lssl -lcrypto
```
It looks like for linking required only use `netsnmp-agent.pc`. This also pool
deps.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4580#issuecomment-3863873727
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4580/[email protected]>_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!