Skip to content

ofix/dragon_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragon server

HTTPS Server based on https://github.com/yhirose/cpp-httplib

issues

how to build openssl-3.0.0 ?

tar xzvf openssl-3.0.0.tar.gz
cd openssl-3.0.0
mkdir build
cd build
../Configure --prefix=/home/greatwall/work/dragon_server/lib/openssl/openssl_dynamic_3.0.0
make -j8
make test
make install

link error: DSO missing from command line

cpp-httplib depend on openssl (version >=3.0.0) shared library, NOT static library you should add custom openssl lib position as following:

openssl_dep = meson.get_compiler('cpp').find_library(
        'ssl',
        dirs : join_paths(meson.source_root(),'lib/openssl/openssl_share_3.0.0/lib'),
        version:'>=3.0.0',
        required:get_option('cpp-httplib_openssl')
    )

link error: lib/libcrypto.so.3: error adding symbols: DSO missing from command

cpp-httplib can't found libcrypto.so shared library (version >=3.0.0), you should add it as following in meson.build file

crypto_dep =  meson.get_compiler('cpp').find_library(
        'crypto',
        dirs : join_paths(meson.source_root(),'lib/openssl/openssl_share_3.0.0/lib'),
        version:'>=3.0.0',
        required:get_option('cpp-httplib_openssl')
    )

About

https proxy & mock server

Resources

Stars

Watchers

Forks

Packages

No packages published