Your message dated Wed, 1 Sep 2010 15:44:29 +0200
with message-id <[email protected]>
and subject line Package got removed
has caused the Debian Bug report #583846,
regarding fails loading backends
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
583846: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583846
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: soci
Severity: grave

Hola!

I'm trying to make a trivial example program using libsoci and failing
at it:

$ cat a.cpp
#include <soci/soci.h>

main()
{
        soci::session dbh("sqlite3://a.sq3");
}

$ g++ a.cpp -lsoci
/usr/bin/ld: cannot find -lsoci
collect2: ld returned 1 exit status

$ ls -1 /usr/lib/libsoci*.a
/usr/lib/libsoci_core-gcc-3_0.a
/usr/lib/libsoci_sqlite3-gcc-3_0.a

It seems the package renamed the lib to "soci_core-gcc-3_0"

$ g++ a.cpp -lsoci_core-gcc-3_0
$ ./a.out
$ ./a.out
terminate called after throwing an instance of 'soci::soci_error'
  what():  Failed to find shared library for backend sqlite3
Aborted
$ $ strace ./a.out 2>&1 | grep sqli
open("./libsoci_sqlite3.so", O_RDONLY)  = -1 ENOENT (No such file or directory)
write(2, "Failed to find shared library fo"..., 49Failed to find shared library 
for backend sqlite3) = 49

But the code to dynamically load backends don't know about the
"-gcc-3_0" thing nor that it should look for the module on /usr/lib/

Is the package broken or I am missing something?

Thanks!
H

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Version: 3.0.0+cvs20081223-4+rm

Hi!

As the package got removed from the archive (please see
http://bugs.debian.org/520746 for details) I hereby close these bug
reports.

Best Regards,
  Alexander


--- End Message ---

Reply via email to