-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake build doesn't install embedded 3rd-party libs. #2808
Comments
Why do you find the README wanting? You can just follow the steps provided by the author and build |
@GinXian |
@xkszltl The 3rd party libs are installed as intended but the ELF cannot probe it. That may be because |
What do you mean by installed as intended? As you can see from below, there's simply no
|
Regarding ldconfig, we actually run that intentionally after installation so that's not the issue. |
bash ./shadowsocks-libev/rpm/genrpm.sh before ./autogen.sh && ./configure && make |
That's the makefile code path, no cmake. |
What version of shadowsocks-libev are you using?
master
What operating system are you using?
CentOS 7 (this is really not distro related).
What did you do?
Build with cmake+ninja+gcc, and
-DWITH_STATIC=OFF
because CentOS 7 doesn't ship static version of libev, and then install.What did you see instead?
Embedded 3rd-party libs are correctly built as
build/lib/libipset.so
, but they're not installed.Calling things like
/usr/local/bin/ss-xxxxx
won't work due to missing libs.A few lines like
install(TARGETS ipset-shared LIBRARY DESTINATION lib)
inCMakeLists.txt
should help.The text was updated successfully, but these errors were encountered: