Skip to content

Issues installing/building on OpenSuse Tumbleweed (sqlite3) #569

@megatux

Description

@megatux

Hi, I use OpenSuse Tumbleweed and Ruby with Mise version manager.
I'm having issues installing the gem, the building fails with a pkg-config issue.
I noticed it is using sqlite3 gem version 1.7 but I also have installed version 2.6, that I think it is the latest. I forked the repository, build the gem and installed from local .gem file and seems to work fine.
Any reason not to use the newer one?

bat /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/extensions/x86_64-linux/3.4.0/sqlite3-1.7.3/mkmf.log
───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/extensions/x86_64-linux/3.4.0/sq
       │ lite3-1.7.3/mkmf.log
───────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ pkg_config: checking for pkg-config for /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/ge
       │ ms/sqlite3-1.7.3/ports/x86_64-suse-linux/sqlite3/3.45.2/lib/pkgconfig/sqlite3.pc... -------------------- not found
   2   │
   3   │ LD_LIBRARY_PATH=.:/home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64 ASAN_OPTIONS=detect_leaks=0 pkg-config -
       │ -exists /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/sqlite3-1.7.3/ports/x86_64-su
       │ se-linux/sqlite3/3.45.2/lib/pkgconfig/sqlite3.pc
   4   │ package configuration for /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/sqlite3-1.7
       │ .3/ports/x86_64-suse-linux/sqlite3/3.45.2/lib/pkgconfig/sqlite3.pc is not found
   5   │ --------------------
   6   │
───────┴─

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions