Annoying package not found problem in configure

485 views
Skip to first unread message

Qihong Wang

unread,
Apr 26, 2021, 1:40:17 PM4/26/21
to meetech...@googlegroups.com
Hi,

I tried to build Janus WebRtc gateway in CentOs 7.9 vm. After all the dependencies were built and installed, ./configure --prefix=/opt/janus yielded the following errors:
configure: error: Package requirements ("glib-2.0 >= 2.34
                    gio-2.0 >= 2.34
                    libconfig
                    nice
                    jansson >= 2.5
                    libssl >= 1.0.1
                    libcrypto
                    zlib") were not met:

No package 'nice' found
No package 'jansson' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JANUS_CFLAGS
and JANUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details
.

However, nice and jansson are in the /lib64 and /usr/lib64. 
/usr/lib64/libnice.so.10 -> libnice.so.10.1.0
/usr/lib64/libnice.so.10.1.0
/lib64/libnice.so.10 -> libnice.so.10.1.0
/lib64/libnice.so.10.1.0

/lib64/libjansson.so.4 -> libjansson.so.4.10.0
/lib64/libjansson.so.4.10.0
/usr/lib64/libjansson.so.4 -> libjansson.so.4.10.0
/usr/lib64/libjansson.so.4.10.0

nice was installed from the package instead of my personal build. Any idea what caused the problem and how to solve it? 

Thanks,

Qihong

Qihong Wang

unread,
Apr 26, 2021, 4:36:05 PM4/26/21
to meetecho-janus
I figured out why. I installed libnice in stead of libnice-devel. In /usr/lib64, it missed libnice.so. After I installed the devel package, the problem was gone.

Qihong

Reply all
Reply to author
Forward
0 new messages