Code Monkey home page Code Monkey logo

Comments (9)

babelouest avatar babelouest commented on May 17, 2024 1

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.

babelouest avatar babelouest commented on May 17, 2024

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.

eletious avatar eletious commented on May 17, 2024

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.

babelouest avatar babelouest commented on May 17, 2024

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.

eletious avatar eletious commented on May 17, 2024

I have liborcania.so.1.2.1 in that directory

from ulfius.

babelouest avatar babelouest commented on May 17, 2024

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.

eletious avatar eletious commented on May 17, 2024

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.

babelouest avatar babelouest commented on May 17, 2024

I could make the simple example working in my case.
Maybe you had a -lulfius or a ldconfig missing.

from ulfius.

babelouest avatar babelouest commented on May 17, 2024

@eletious , any update?

from ulfius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.