[Top][All Lists]

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

Re: undefined symbol: sqlite3_open

From: robberer
Subject: Re: undefined symbol: sqlite3_open
Date: Thu, 04 Aug 2016 08:33:27 +0200
User-agent: Posteo Webmail

Yeah, got it.

# sqlite3 -init ./smsd/sms.tables.sqlite.sql /root/smsd.db
# smsd -b IN -m sqlite -d /root/smsd.db -f /root/sms-messages

Now I can finally start using gnokii and my old Nokia 5140 to control my home network over GSM Network :-)

Thanks to the developers for this great piece of software.

Am 04.08.2016 08:18 schrieb address@hidden:
Hi All,

i found a workaround to get a functional module.

I've changed smsd/Makefile manually:

Line 279 becomes "SQLITE_LIBS = -lsqlite3" instead of "SQLITE_LIBS =

# cd smsd
# make clean
# make

Now I get the expected output when using ldd on the module:

# ldd .libs/ (0xb779e000) => /usr/lib/i386-linux-gnu/ (0xb76b7000) => /lib/i386-linux-gnu/ (0xb769c000) => /lib/i386-linux-gnu/ (0xb7528000) => /lib/i386-linux-gnu/ (0xb7523000)
/lib/ (0xb77a1000)

Hope this helps someone. Maybe this should be fixed at autoconf level
but i don't know how to do this.

Now I have to find out how to use this module because I can't find any
documentation about it. How do I set the sqlite db file with the smsd
options ?

"-c, --host db_hostname OR spool directory if -m file" Yeah, but what
to do if I have -m sqlite ?


Am 03.08.2016 15:35 schrieb address@hidden:

i have problems to use gnokii with sqlite backend. Since debian
doesn't provide this backend as a package i had to build from source.

But there seems to be a linker problem with I get
the following error when i'm trying to use this module.

#./bin/smsd -b IN -m sqlite
./bin/smsd: symbol lookup error:
/root/gnokii/lib/smsd/ undefined symbol:

# ldd (0xb777d000) => /lib/i386-linux-gnu/ (0xb7647000) => /lib/i386-linux-gnu/ (0xb762c000) => /usr/lib/ (0xb75c6000) => /lib/i386-linux-gnu/ (0xb7452000) => /lib/i386-linux-gnu/ (0xb73df000)
/lib/ (0xb7780000)

I don't know but shouldn't be a in the output ?

Any suggestions ?

gnokii-users mailing list

gnokii-users mailing list

reply via email to

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