mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: qmapshack: Remove sqlite-with-column-metadata workaround.
* gnu/packages/geo.scm (qmapshack)[arguments]: Do not set LD_LIBRARY_PATH in wrapper scripts.
This commit is contained in:
parent
d040e650b2
commit
5fcc5b38ed
1 changed files with 2 additions and 10 deletions
|
@ -1431,23 +1431,15 @@ (define-public qmapshack
|
|||
(invoke "patch" "-p1" "-i" "FindQuaZip5.patch")
|
||||
#t))
|
||||
(add-after 'install 'wrap
|
||||
;; The program fails to run with the error:
|
||||
;; undefined symbol: sqlite3_column_table_name16
|
||||
;; Forcing the program to use sqlite-with-column-metadata instead
|
||||
;; of sqlite using LD_LIBRARY_PATH solves the problem.
|
||||
;;
|
||||
;; The program also fails to find the QtWebEngineProcess program,
|
||||
;; The program fails to find the QtWebEngineProcess program,
|
||||
;; so we set QTWEBENGINEPROCESS_PATH to help it.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin"))
|
||||
(qtwebengineprocess (string-append
|
||||
(assoc-ref inputs "qtwebengine")
|
||||
"/lib/qt5/libexec/QtWebEngineProcess"))
|
||||
(sqlite-lib (string-append (assoc-ref inputs "sqlite")
|
||||
"/lib")))
|
||||
"/lib/qt5/libexec/QtWebEngineProcess")))
|
||||
(for-each (lambda (program)
|
||||
(wrap-program program
|
||||
`("LD_LIBRARY_PATH" ":" prefix (,sqlite-lib))
|
||||
`("QTWEBENGINEPROCESS_PATH" =
|
||||
(,qtwebengineprocess))))
|
||||
(find-files bin ".*")))
|
||||
|
|
Loading…
Reference in a new issue