Description

run

make prefix=/ include_modules="db_mysql" all -j4

and not found openssl lib

but here is my openssl path

pkg-config --cflags openssl
-I/usr/local/Cellar/openssl/1.0.2s/include
pkg-config --libs openssl
-L/usr/local/Cellar/openssl/1.0.2s/lib -lssl -lcrypto

Troubleshooting

屏幕快照 2019-07-31 下午6 54 47

Log Messages

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src/ all
generating core/autover.h ...
CC (gcc) [kamailio]		core/ver.o
CC (gcc) [kamailio]		core/parser/parse_event.o
CC (gcc) [kamailio]		core/parser/parse_expires.o
CC (gcc) [kamailio]		core/parser/parse_fline.o
CC (gcc) [kamailio]		core/parser/parse_from.o
CC (gcc) [kamailio]		core/parser/parse_hname2.o
CC (gcc) [kamailio]		core/parser/parse_identity.o
CC (gcc) [kamailio]		core/parser/parse_identityinfo.o
CC (gcc) [kamailio]		core/parser/parse_methods.o
CC (gcc) [kamailio]		core/parser/parse_nameaddr.o
CC (gcc) [kamailio]		core/parser/parse_option_tags.o
CC (gcc) [kamailio]		core/parser/parse_param.o
CC (gcc) [kamailio]		core/parser/parse_ppi_pai.o
CC (gcc) [kamailio]		core/parser/parse_privacy.o
CC (gcc) [kamailio]		core/parser/parse_refer_to.o
CC (gcc) [kamailio]		core/parser/parse_require.o
CC (gcc) [kamailio]		core/parser/parse_retry_after.o
CC (gcc) [kamailio]		core/parser/parse_rpid.o
CC (gcc) [kamailio]		core/parser/parse_rr.o
CC (gcc) [kamailio]		core/parser/parse_sipifmatch.o
CC (gcc) [kamailio]		core/parser/parse_subscription_state.o
CC (gcc) [kamailio]		core/parser/parse_supported.o
CC (gcc) [kamailio]		core/parser/parse_to.o
CC (gcc) [kamailio]		core/parser/parse_uri.o
CC (gcc) [kamailio]		core/parser/parse_via.o
CC (gcc) [kamailio]		core/parser/parser_f.o
CC (gcc) [kamailio]		core/parser/digest/digest.o
CC (gcc) [kamailio]		core/parser/digest/digest_parser.o
CC (gcc) [kamailio]		core/parser/digest/param_parser.o
CC (gcc) [kamailio]		core/parser/contact/contact.o
CC (gcc) [kamailio]		core/parser/contact/parse_contact.o
CC (gcc) [kamailio]		core/parser/sdp/sdp.o
CC (gcc) [kamailio]		core/parser/sdp/sdp_helpr_funcs.o
CC (gcc) [kamailio]		core/rand/fastrand.o
CC (gcc) [kamailio]		core/rand/isaac/rand.o
CC (gcc) [kamailio]		core/cfg/cfg.o
CC (gcc) [kamailio]		core/cfg/cfg_ctx.o
CC (gcc) [kamailio]		core/cfg/cfg_script.o
CC (gcc) [kamailio]		core/cfg/cfg_select.o
CC (gcc) [kamailio]		core/cfg/cfg_struct.o
yacc -d -b core/cfg core/cfg.y
yacc -d -b core/cfg core/cfg.y
CC (gcc) [M db_mysql.so]		db_mysql.o
CC (gcc) [M db_mysql.so]		km_db_mysql.o
CC (gcc) [M db_mysql.so]		km_dbase.o
CC (gcc) [M db_mysql.so]		km_my_con.o
flex -o core/lex.yy.c core/cfg.lex
CC (gcc) [M db_mysql.so]		km_res.o
CC (gcc) [kamailio]		core/cfg.tab.o
CC (gcc) [M db_mysql.so]		km_row.o
CC (gcc) [M db_mysql.so]		km_val.o
CC (gcc) [M db_mysql.so]		my_cmd.o
CC (gcc) [M db_mysql.so]		my_con.o
CC (gcc) [M db_mysql.so]		my_fld.o
CC (gcc) [M db_mysql.so]		my_res.o
CC (gcc) [M db_mysql.so]		my_uri.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_cmd.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_con.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_ctx.o
CC (gcc) [kamailio]		core/lex.yy.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_drv.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_fld.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_id.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_gen.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_pool.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_rec.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_pool.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_query.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_res.o
CC (gcc) [L libsrdb2.1.0.0.dylib]		db_uri.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_res.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_row.o
LD (gcc) [L libsrdb2.1.0.0.dylib]		libsrdb2.1.0.0.dylib
LD (gcc) [kamailio]		kamailio
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_ut.o
CC (gcc) [L libsrdb1.1.0.0.dylib]		db_val.o
LD (gcc) [L libsrdb1.1.0.0.dylib]		libsrdb1.1.0.0.dylib
LD (gcc) [M db_mysql.so]		db_mysql.so
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [db_mysql.so] Error 1
make[1]: *** [modules] Error 1
make: *** [all] Error 2

Possible Solutions

didn't know; it seems hard code on kamailio.

Additional Information

(paste your output here)
uname -a
Darwin *****MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64```


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.