Package: libghc6-hsql-sqlite3-dev Version: 1.6-5 Severity: important
A program which imports HSQL.SQLite3 fails to link giving the following error: /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3qy_entry': : undefined reference to `sqlite3_free' /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3v0_entry': : undefined reference to `sqlite3_free_table' /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3vw_entry': : undefined reference to `sqlite3_get_table' /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3vH_entry': : undefined reference to `sqlite3_exec' /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3w0_entry': : undefined reference to `sqlite3_close' /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3wB_entry': : undefined reference to `sqlite3_errmsg' /usr/lib/haskell-packages/ghc6/lib/hsql-sqlite3-1.0/libHShsql-sqlite3-1.0.a(SQLite3.o): In function `s3wP_entry': : undefined reference to `sqlite3_open' collect2: ld returned 1 exit status It seems that the problem is caused by linking it with -lsqlite instead of -lsqlite3. Thanks, Michal -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (900, 'testing'), (400, 'stable'), (300, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-1-amd64-k8 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libghc6-hsql-sqlite3-dev depends on: ii ghc6 6.4.1-1 GHC - the Glasgow Haskell Compilat ii libghc6-hsql-dev 1.6-5 Multi-Database Interface System fo ii libsqlite3-dev 3.2.7-1 SQLite 3 development files libghc6-hsql-sqlite3-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

