Git Product home page Git Product logo

Comments (3)

pmarreck avatar pmarreck commented on September 26, 2024

@SatoshiGuacamole It's always best to run in a "pure" environment (so that only the build inputs specifically specified in the default.nix or shell.nix are available to the build, and NOT anything else installed into your OS itself). Try running nix-shell --pure first before running nix-build, and it should automatically use the openssl version specified in the default.nix, which is a v3.
cc @10gic

from vanitygen-plusplus.

10gic avatar 10gic commented on September 26, 2024

@pmarreck Thanks for the additional information in pull request #48

@SatoshiGuacamole Now, I can use openssl v3. Here is my steps:

$ ldd result/bin/vanitygen++        # Check the linked openssl version
	......
	libcrypto.so.1.1 => /nix/store/f7jpwsi3yiy98pjv6m06m5j2hxds84cm-openssl-1.1.1j/lib/libcrypto.so.1.1 (0x00007fb3bd6ab000)
	......

There are three channels, 22.05: openssl 1.1.1s / 22.11: openssl 3.0.7 / unstable: openssl 3.0.7, make sure I'm not using channel 22.05.

$ nix-channel --list                # Listing current channels
nixpkgs https://nixos.org/channels/nixpkgs-unstable
$ nix-channel --update              # Updating all channels
$ nix-build                         # Build it
$ ldd result/bin/vanitygen++        # Check the linked openssl version (now, it use 3.0.7)
	......
	libcrypto.so.3 => /nix/store/zpwhl35d2dkj0p4bli5wp6sw1vfsyab5-openssl-3.0.7/lib/libcrypto.so.3 (0x00007f78186c3000)

I think the most critical step is to run nix-channel --update.

from vanitygen-plusplus.

pmarreck avatar pmarreck commented on September 26, 2024

ah, nice! yes, I should have done this as a flake; then that wouldn't have been a problem. My channels are always updated because I run on NixOS and am always updating the system as if it was a rolling release, lol. Maybe I will submit a PR for the flakes version of this soon. ;)

from vanitygen-plusplus.

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.