Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Sam Erickson
Sam Erickson

Posted on

Installing diesel_cli on OpenSUSE Tumbleweed

I recently ran into some issues installingdiesel_cli on openSUSE. I wanted to use the package withpostgres only so I tried entering the following command from their getting started page:

# The package that is required according to the docszypperinstalllibpq5cargoinstalldiesel_cli--no-default-features--features postgres
Enter fullscreen modeExit fullscreen mode

Then I get met with this fun error message:
Image of errors in a terminal.
The last few lines are of interest:

= note: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find-lpq: No such file or directory          collect2: error: ld returned 1exitstatus
Enter fullscreen modeExit fullscreen mode

I started just installing all packages that I could find usingzypper search that related to postgres and tried the installation process ofdiesel_cli after each one. Eventually, after much trial and error I found the missing package:

sudozypperinstallghc-postgresql-libpq-devel
Enter fullscreen modeExit fullscreen mode

After installing this I was able to builddiesel.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Developer
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp