help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined symbol error in qtbase


From: Hamzeh Nasajpour
Subject: Re: undefined symbol error in qtbase
Date: Wed, 07 Aug 2019 10:33:57 +0430
User-agent: Cyrus-JMAP/3.1.6-808-g930a1a1-fmstable-20190805v2

Hi, 

Thank you for follow up. This is the package definition for `trojita`. 
(inspired from 
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/mailreaders/trojita/default.nix)


```
(define-public trojita
  (package
    (name "trojita")
    (version "0.7.0.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
                         (url "https://github.com/KDE/trojita";)
             (commit "c5b39f51693ab5616e61e2e9454a526287b7df8d")))
       (sha256
        (base32 "1g3mbpb8m6hivyj6pmgqxqvms3bizdwiiy4fagn4kqrspl9ssssr"))
       ))
    (build-system cmake-build-system)
    (arguments
      `(#:tests? #f))
    (inputs `(
              ("qtbase", qtbase)
              ("qtwebkit", qtwebkit)
                          ("qtsvg" ,qtsvg)))
    (native-inputs `(
              ("pkg-config", pkg-config)
              ("qttools",qttools)))
    (home-page "http://trojita.flaska.net";)
    (synopsis "A Qt IMAP e-mail client")
    (description "A Qt IMAP e-mail client")
    (license license:gpl2)))
```

On Wed, Aug 7, 2019, at 1:32 AM, swedebugia wrote:
> hi!
> 
> On 2019-08-06 13:58, Hamzeh Nasajpour wrote:
> > Hi,
> >
> > I want to package `trojita` for GuixSD. I created a package definition and 
> > it was build and installed successfully. When I run it I get the following 
> > error:
> >
> > ```
> > /gnu/store/890yw9i7lcjnnxhlza8r121352xp1hi-qtbase-5.11.3/lib/qt5/plugins/sqldrivers/libqsqlite.so:
> >  undefined symbol: sqlite3_column_table_name16
> >
> > ```
> >
> > `trojita` is a mail client application that has a dependency to `qtbase`. I 
> > see that in `qtbase` package definition there is 
> > `sqlite-with-column-metadata` as a dependency, Apparently all is ok but I 
> > don't know the reason of this error. Do you have any idea?
> >
> > Links:
> > * `qtbase` package definition : 
> > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n578
> > * `trojita` mail application : https://cgit.kde.org/trojita.git
> > *  `sqlite` additional methods/apis : 
> > https://www.sqlite.org/c3ref/column_database_name.html
> > *  `sqlite` package definition :  
> > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/sqlite.scm#n107
> 
> Could you share your package definition also?
> 
> 
> -- 
> Cheers Swedebugia
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]