Comments (9)
The packages I had to install were:
gnutls-devel
systemd-devel
libmicrohttpd-devel
jansson-devel
libcurl-devel
make
gcc
I'll update the documentation for CentOS.
from ulfius.
Usually, the error cannot find -lorcania
can be fixed with re-running the command sudo ldconfig
. Ulfius doesn't have to be compiled as root (although it can be), only the make install
command has to be executed as root.
Maybe a better way for your automatisation is to install ulfius with the cmake script though.
$ mkdir build
$ cd build
$ cmake ..
$ make && sudo make install
from ulfius.
I attempted to use cmake initially, but centos7 uses the wrong version of cmake - >= 3.5 is required, but centos bundles 2.8.12.2
I also was unable to get it built after running ldconfig, though that should have made orcania available for use if I'm understanding this correctly.
from ulfius.
I assume you install it with the default params. i.e. in /usr/local/lib
.
Do you have liborcania*
files in this folder after installing Orcania? What are they?
from ulfius.
I have liborcania.so.1.2.1 in that directory
from ulfius.
After a quick test on a Docker image, I found the solution and was able to install ulfius.
You need to add /usr/local/lib
at the end of the file /etc/ld.so.conf
and run ldconfig -v
as root as explained here: https://serverfault.com/a/372998
Then you should be able to build properly orcania, yider, ulfius, then your application
from ulfius.
The library exists now, and I was able to make install
, however now the project I'm working on won't compile... undefined references to all of the functions I used from ulfius, which I now get in Ubuntu as well. Must be doing something wrong on my end...
from ulfius.
I could make the simple example working in my case.
Maybe you had a -lulfius
or a ldconfig
missing.
from ulfius.
@eletious , any update?
from ulfius.
Related Issues (20)
- [Issue] simple_example: build failed HOT 1
- ulfius_add_endpoint_by_val() url_prefix VS. url_format HOT 2
- HTTP GET with array as response body HOT 2
- simple_example as static build for managed server HOT 2
- undefined reference to `pointer_list_init' HOT 2
- How to setup https mode? HOT 4
- Sending file in response for Ulfius REST request
- Do we have any official Ulifius Yocto recipe? HOT 1
- How can I reopen a closed issue? HOT 4
- [Issue]../../src/libulfius.so: undefined reference to `[email protected]' HOT 1
- [Issue] A use after free bug in src/ulfius.c HOT 1
- [Issue]A double free bug in ulfius.c HOT 4
- [Issue]A use after free bug in src/ulfius.c HOT 1
- [Feature request] How to use libulfius to implement a secure, asynchronious and scalable REST API? HOT 3
- What is the best way to let libulfius interact with libpq? HOT 2
- uwsc can't connect to socket while wscat can HOT 2
- Ulfius failed to link microhttpd on mingw64 using CMake HOT 4
- Support for graceful shutdown HOT 2
- How to add swagger openAPI documentation for ulfius based webservices ? HOT 3
- Issue faced in file_upload_callback in Ulfius TLS mode [HTTPS] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulfius.