From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hamzeh Nasajpour" Subject: Re: undefined symbol error in qtbase Date: Wed, 07 Aug 2019 10:33:57 +0430 Message-ID: References: <215dedf4-647c-45a9-ab55-db89b1ba9b7e@www.fastmail.com> <5ecf4ede-b518-1337-6814-0021b903c099@riseup.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50100) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvF3J-0002SN-0s for help-guix@gnu.org; Wed, 07 Aug 2019 02:04:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvF3H-0008JQ-Rx for help-guix@gnu.org; Wed, 07 Aug 2019 02:04:00 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43169) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hvF3H-0008JA-Ir for help-guix@gnu.org; Wed, 07 Aug 2019 02:03:59 -0400 In-Reply-To: <5ecf4ede-b518-1337-6814-0021b903c099@riseup.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: swedebugia , help-guix@gnu.org 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 >