GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 0.9.x doesn't work with FreeBSD, 0.8.x did · Issue #283 · lmdbjava/lmdbjava

0.9.x doesn't work with FreeBSD, 0.8.x did #283

New issue
Copy link
New issue
Copy link
Closed
Closed
0.9.x doesn't work with FreeBSD, 0.8.x did#283
Copy link
Labels
enhancementAdditional or new functionalityAdditional or new functionality

Description

@patrickSpaceSurfer
patrickSpaceSurfer
opened on Feb 5, 2026
Issue body actions

The 0.9.x version does not work with FreeBSD or any other OS that isn't listed in org.lmdbjava.TargetName#resolveOs because that method throws an exception if it does not recognise the OS.
That method is only used to resolve the "bundled" libraries, so if it did't throw an exception (such as simply returning "unknown") then 0.9.x would work fine as long as the lmdbjava.native.lib property is set correctly (just needs to be set to "lmdb", since installing the correct port will put liblmdb.so in the standard library path)

Note that 0.8.x has always worked with FreeBSD without having to set any properties.

Activity

  1. patrickSpaceSurfer commented on Feb 5, 2026

    @patrickSpaceSurfer
    patrickSpaceSurfer
    on Feb 5, 2026
    Author
    More actions

    Sorry, this is not correct, it will work with FreeBSD as long as the lmdbjava.native.lib property is set. However, it would be nice if the code falls back to loading the lmdb system installed library if the os is "not supported". That would be consistent with 0.8.x

  2. bp-alex
    added a commit that references this issue on Feb 5, 2026

    Improve error message for unsupported OS (#283)

    fc1bcbd
  3. bp-alex commented on Feb 5, 2026

    @bp-alex
    bp-alex
    on Feb 5, 2026
    Member
    More actions

    Thanks for reporting this. I think it preferable to retain the explicit opt-in behavior rather than silently falling back to a system library. The rationale is that 99% of users get a tested, CI-verified bundled library with known provenance. Silent fallback could lead to hard-to-diagnose issues from unknown LMDB versions/builds.

    We should have a better error message though to help in cases where the operating system is undetected. As such, fc1bcbd now explicitly mentions that -Dlmdbjava.native.lib=lmdb works if LMDB is installed in standard system paths.

  4. bp-alex
    added
    enhancementAdditional or new functionalityAdditional or new functionality
    on Feb 5, 2026
  5. bp-alex
    added a commit that references this issue on Feb 6, 2026

    Prepare 0.9.3 release

    9bab60a
  6. bp-alex commented on Feb 6, 2026

    @bp-alex
    bp-alex
    on Feb 6, 2026
    Member
    More actions

    I have released 0.9.3 which includes this updated message. I will close this, please feel free to re-open if any concerns.

    Reacted by Patrick Mackinlay
  7. bp-alex
    closed this as completedon Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdditional or new functionalityAdditional or new functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.