Coder Social home page Coder Social logo

HELib Improved Makefile about pyfhel HOT 5 CLOSED

Foram16 avatar Foram16 commented on May 17, 2024
HELib Improved Makefile

from pyfhel.

Comments (5)

ibarrond avatar ibarrond commented on May 17, 2024

It should, but it hasn't been updated in a year. Unfortunately Pyfhel is soon dropping the coverage of HElib because SEAL and PALISADE seem to be more mature and complete.

from pyfhel.

Foram16 avatar Foram16 commented on May 17, 2024

ok thank you

from pyfhel.

Foram16 avatar Foram16 commented on May 17, 2024

I'am trying to wrap HELib code in python using ctypes. I compiled the code using : g++ -g -O2 -std=c++11 -pthread -DFHE_THREADS -DFHE_BOOT_THREADS -fmax-errors=2 -fPIC -shared -o pke.so pke.cpp fhe.a -L/usr/local/lib -lntl -lgmp -lm.

I'm getting an error:

/usr/bin/ld: fhe.a(NumbTh.o): relocation R_X86_64_32 against ".rodata.str1.8" can not be used when making a shared object; recompile with -fPIC fhe.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status

Sorry, but could you possible tell me what I'm doing wrong. Thank you in advance.

from pyfhel.

ibarrond avatar ibarrond commented on May 17, 2024

This question doesn't belong to the issues of Pyfhel, since it is not related to this project. I suggest post it in StackOverflow.

PS: Unfortunately I have no idea what is wrong. I have no access to your code nor have I touched HElib in about 1 year. Good luck in your search

from pyfhel.

Foram16 avatar Foram16 commented on May 17, 2024

true... thank you.

from pyfhel.

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.