Opkg install a custom package - Cannot satisfy dependencies for abc: libevent_pthreads

In my application package, evthread_use_pthreads() was called. so libevent_pthreads is included for linking. When I loaded the package, the following error showed up:

opkg install abc_1_mipsel_24kc.ipk 
Installing abc (1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for abc:
 * 	libevent_pthreads
 * opkg_install_cmd: Cannot install package abc.
I checked the device. libevent2-pthreads_2.0.22-1_mipsel_24kc.ipk is installed.

What is missing or wrong? Thanks in advance for your help.

Have you tried depending on libevent2-pthreads?

Thanks for your quick response.
Added levent2-pthreads (or levent2_pthreads) in package/abc/src/Makefile, and made changes to package/abc/Makefile. But linker complained: ld: cannot find -levent2-pthreads.
Run "find -name .so | grep event" on the host, but no kind of libevent2-pthreads showed up on the host.

[Package name is libevent2-pthreads, while the dynamic library name should be libevent_pthreads-2.1*

this is part of the results from "find ..":
./sdk/staging_dir/target-mipsel_24kc_musl/usr/lib/libevent_pthreads-2.0.so.5
./sdk/staging_dir/target-mipsel_24kc_musl/usr/lib/libevent_pthreads-2.0.so.5.1.10
./sdk/staging_dir/target-mipsel_24kc_musl/usr/lib/libevent_pthreads.so

It is -levent_pthreads that is being used originally.
As to your question " Have you tried depending on libevent2-pthreads ?". How the dependence should be made?

I mean by specifying the dependency relationship with DEPENDS:= . opkg will use this piece of info for resolving dependency.

As for the error ld: cannot find -levent2-pthreads, please post the full link command. Likely it's just about the right name and search path.

The proper linker flag is -levent_core -levent_pthreads

Probably fixed here

After added linker flag -levent_core and dependency, still the same:
Collected errors:

 * satisfy_dependencies_for: Cannot satisfy the following dependencies for abc:
 * 	libevent_pthreads
 * 	libevent_core
 * opkg_install_cmd: Cannot install package abc.

how to adopt the fix?

Dependency:
+libevent2-core +libevent2-pthreads