Hi all,
I'm trying build Firefox following the BLFS book instructions. Initially I did
not build the 'Recommended' dependencies (as opposed to 'Required'), but it
turns out they are actually required, the configure script fails without them.
So I built all of them, including SQLite. Then the configure script runs fine,
the build starts, but at some point it fails, complaining about SQLite symbols
not found (log below).
I've checked that I do have the sqlite lib in /usr/lib, and I used 'nm' to
confirm that the missing symbols are there. But I can see in the compilation
command that there is no -l option for libsqlite...
How can I fix this so that the build finds SQLite ?
Joao
make[6]: Entering directory
`/root/src/mozilla-release/firefox-build-dir/ipc/app'
/root/src/mozilla-release/firefox-build-dir/_virtualenv/bin/python
/root/src/mozilla-release/config/expandlibs_exec.py --depend
.deps/plugin-container.pp --target plugin-container --uselist -- c++ -o
plugin-container -Wall -Wpointer-arith -Woverloaded-virtual
-Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare
-Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing
-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x
-pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks
-fomit-frame-pointer MozillaRuntimeMain.o -lpthread -Wl,-z,noexecstack
-Wl,--build-id
-Wl,-rpath-link,/root/src/mozilla-release/firefox-build-dir/dist/bin
-Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib -ldl
-L/root/src/mozilla-release/firefox-build-dir/dist/bin -lxul -lmozalloc
-L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,--whole-archive
/root/src/mozilla-release/firefox-build-dir/dist/lib/libmozglue.a
/root/src/mozilla-rele
ase/firefox-build-dir/dist/lib/libmemory.a -Wl,--no-whole-archive -rdynamic
-ldl
Executing: c++ -o plugin-container -Wall -Wpointer-arith -Woverloaded-virtual
-Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare
-Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing
-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x
-pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer
/root/src/mozilla-release/firefox-build-dir/ipc/app/tmpHkURRO.list -lpthread
-Wl,-z,noexecstack -Wl,--build-id
-Wl,-rpath-link,/root/src/mozilla-release/firefox-build-dir/dist/bin
-Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib -ldl
-L/root/src/mozilla-release/firefox-build-dir/dist/bin -lxul -lmozalloc
-L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,--whole-archive
../../dist/lib/libmozglue.a ../../dist/lib/libmemory.a -Wl,--no-whole-archive
-rdynamic -ldl
/root/src/mozilla-release/firefox-build-dir/ipc/app/tmpHkURRO.list:
INPUT("MozillaRuntimeMain.o")
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_reset@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_exec@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_finalize@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to
`sqlite3_temp_directory@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_step@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_free@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_column_int@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_bind_blob@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_open@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_close@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_bind_int@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_column_blob@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_bind_text@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_mprintf@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_column_bytes@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_busy_timeout@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_prepare_v2@SQLITE_3'
/usr/lib/libsoftokn3.so: undefined reference to `sqlite3_file_control@SQLITE_3'
collect2: ld returned 1 exit status
make[6]: *** [plugin-container] Error 1
make[6]: Leaving directory `/root/src/mozilla-release/firefox-build-dir/ipc/app'
make[5]: *** [tools] Error 2
make[5]: Leaving directory `/root/src/mozilla-release/firefox-build-dir/ipc'
make[4]: *** [tools_tier_platform] Error 2
make[4]: Leaving directory `/root/src/mozilla-release/firefox-build-dir'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/root/src/mozilla-release/firefox-build-dir'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/root/src/mozilla-release/firefox-build-dir'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/root/src/mozilla-release'
make: *** [build] Error 2
bash-4.2# bash-4.2#
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page