On Thu, 2020-09-24 at 15:27 +0100, Ken Moffat via blfs-support wrote:
> On Thu, Sep 24, 2020 at 08:45:51AM +0200, filbar--- via blfs-support
> wrote:
> > Hello,
> > my output is:
> > --------------------------------------------
> >  nm /usr/lib/libsoftokn3.so  | grep sqlite 
> >                  U sqlite3_bind_blob@@SQLITE_3
> >                  U sqlite3_bind_int@@SQLITE_3
> >                  U sqlite3_bind_text@@SQLITE_3
> >                  U sqlite3_busy_timeout@@SQLITE_3
> >                  U sqlite3_close@@SQLITE_3
> >                  U sqlite3_column_blob@@SQLITE_3
> >                  U sqlite3_column_bytes@@SQLITE_3
> >                  U sqlite3_column_int@@SQLITE_3
> >                  U sqlite3_column_text@@SQLITE_3
> >                  U sqlite3_exec@@SQLITE_3
> >                  U sqlite3_file_control@@SQLITE_3
> >                  U sqlite3_finalize@@SQLITE_3
> >                  U sqlite3_free@@SQLITE_3
> >                  U sqlite3_mprintf@@SQLITE_3
> >                  U sqlite3_open_v2@@SQLITE_3
> >                  U sqlite3_prepare_v2@@SQLITE_3
> >                  U sqlite3_reset@@SQLITE_3
> >                  U sqlite3_step@@SQLITE_3
> >                  U sqlite3_temp_directory@@SQLITE_3
> > --------------------------------------------
> > Thanks,
> > Filip Bartmann
> > 
>  *please* don't top post.
> 
> To summarise, your items are all @SQLITE3, for the rest of us that
> version specification is missing.
> 
> From
> http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-June/076782.html
> 
> Armin's suggestion to a similar problem was that nss had been built
> with its bundled sqlite instead of the system version.
> 
> 

I can confirm that building without the NSS_USE_SYSTEM_SQLITE=1 switch
produces versionned symbols in libsoftokn3.so.

The libsqlite3.so library built by the build system of nss in that case
has versioned symbols. But if sqlite is rebuilt _after_ nss, it is
replaced by the library with non versioned symbols.

Normally, rebuilding nss after that with the switch should allow things
to run ok... But as Ken suggested, there might be a typo in the nss
options (perhaps a missing backslash, or a space after the backslash
before the newline (this is hidden, so may happen once in a while...).

Pierre



-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to