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.