I have the
non-dev versions of both
readline and ncurses. Do you suggest installing Dev version?
:~/sqlite-3.3.13>
rpm -qa readline
readline-5.0-7.2
~/sqlite-3.3.13>
rpm -qa ncurses
ncurses-5.4-61.4
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Gregorio
Correa
Sent: Wednesday,
February 28, 2007
8:37 AM
To: OpenPBX.org Users
Mailing List
- Non-Commercial Discussion
Subject: Re:
[Openpbx-users]
OpenPBX error when running
mmmhhh... looks like it
is a
dependency problem... have you installed readline, readline-dev,
ncurses and
ncurses-dev before trying to compile sqlite? You may check other deps
as well.
Hope this helps, regards.
--
Gregorio Correa
Omnivision S.A.
Av. Figueroa Alcorta 7640/50 . C1428BCZ . Ciudad de Buenos Aires . Argentina
(5411) 5367.0001
Karihaloo, Ujjval escribió:
Kindly check this error
and advise: Installation on
SuSE Linux 9.0
[EMAIL PROTECTED]:/#
openpbx -vvvvc
openpbx:
error while loading shared
libraries: libsqlite3.so.0: cannot open shared object file: No such
file or
directory
I do have libsqlite3.so.0
in /usr/local/lib and I
have provided a link in /openpbx/usr/lib to that lib file. However I am
trying
to build sqlite from source and get this error:
temp:~/sqlite-3.3.13>
make
./libtool
--mode=link gcc -g -O2
-DOS_UNIX=1 -DHAVE_USLEEP=1 -DHAVE_FDATASYNC=1 -I. -I./src -DNDEBUG
-DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_LOAD_EXTENSION=1
-DHAVE_READLINE=1 -I/usr/include/readline \
-o sqlite3 ./src/shell.c libsqlite3.la \
-lncurses
gcc -g -O2
-DOS_UNIX=1 -DHAVE_USLEEP=1
-DHAVE_FDATASYNC=1 -I. -I./src -DNDEBUG -DTHREADSAFE=0
-DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=1
-I/usr/include/readline -o
.libs/sqlite3 ./src/shell.c ./.libs/libsqlite3.so -lncurses
/tmp/ccNb0s8F.o(.text+0x338b):
In function
`process_input':
src/shell.c:215:
undefined reference to
`readline'
/tmp/ccNb0s8F.o(.text+0x33f8):src/shell.c:1573:
undefined reference to `add_history'
/tmp/ccNb0s8F.o(.text+0x3b91):
In function
`main':
src/shell.c:1934:
undefined reference to
`read_history'
/tmp/ccNb0s8F.o(.text+0x3bb5):src/shell.c:1938:
undefined reference to `stifle_history'
/tmp/ccNb0s8F.o(.text+0x3bbd):src/shell.c:1939:
undefined reference to `write_history'
collect2: ld
returned 1 exit status
make: ***
[sqlite3] Error 1
However, the Openpbx RPM
was i386, and Suse linux
package for sqlite is i586. Could this be a problem – Any solutions for
this? I thought building from source would help, but make fails as
shown above.
Help would be appreciated.
_______________________________________________
Openpbx-users mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-users