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
Then I get met with this fun error message:
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
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
After installing this I was able to builddiesel
.
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse