Discussion:
[blfs-support] LibreOffice 6.1.0 compilation problem
Dr.-Ing. Edgar Alwers via blfs-support
2018-12-04 14:12:14 UTC
Permalink
Hi all,

I am trying to build LibreOffice 6.1.0 according to BLFS Book 8.3. I did
compile all required dependencies and all recommended ones, without
problems. Then I started with LibreOffice. The ./autogen.sh went also
OK, no errors, no warnings. Then I started the building itself with

"CPFLAGS='-DU_USING_ICU_NAMESPACEE=1' make build-nocheck"

and after aproximately 90 min the building process broke down with the
following error;

---------------------------

........... ( about 18 lines with undefined references  to sqlite3 )

/usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to
`***@SQLITE_3'
/usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to
`***@SQLITE_3'
/usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to
`***@SQLITE_3'
/usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to
`***@SQLITE_3'
collect2: Error: ld gab 1 als Ende-Status zurÃŒck
make[1]: ***
[/sources_BLFS/libreoffice-6.1.0.3/solenv/gbuild/LinkTarget.mk:627:
/sources_BLFS/libreoffice-6.1.0.3/workdir/LinkTarget/Executable/svidl]
Error 1

make: *** [Makefile:286: build] Error 2

--------------------------

I did not find  advices in google and I do not understand what is
happening, especially as the configuration was OK. If sqlite3 is the
problem, I do not need it with LibreOffice. Can someone help ?

Thanks in advance,

Edgar
Bruce Dubbs via blfs-support
2018-12-04 15:16:06 UTC
Permalink
Post by Dr.-Ing. Edgar Alwers via blfs-support
Hi all,
I am trying to build LibreOffice 6.1.0 according to BLFS Book 8.3. I did
compile all required dependencies and all recommended ones, without
problems. Then I started with LibreOffice. The ./autogen.sh went also
OK, no errors, no warnings. Then I started the building itself with
"CPFLAGS='-DU_USING_ICU_NAMESPACEE=1' make build-nocheck"
^^

I don't know if the above is the problem or if it's just an email typo,
but NAMESPACE is not spelled right.

-- Bruce
Post by Dr.-Ing. Edgar Alwers via blfs-support
and after aproximately 90 min the building process broke down with the
following error;
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq
Dr.-Ing. Edgar Alwers via blfs-support
2018-12-04 15:46:43 UTC
Permalink
Post by Dr.-Ing. Edgar Alwers via blfs-support
"CPFLAGS='-DU_USING_ICU_NAMESPACEE=1' make build-nocheck"
                                  ^^
I don't know if the above is the problem or if it's just an email
typo, but NAMESPACE is not spelled right.
No, sorry, this was only  an email typo. When compiling, I make copy and
drag from the book. And it compiled 90 min before the break !
Edgar
Dr.-Ing. Edgar Alwers via blfs-support
2018-12-04 16:11:35 UTC
Permalink
-------- Weitergeleitete Nachricht --------
Betreff: Re: [blfs-support] LibreOffice 6.1.0 compilation problem
Datum: Tue, 4 Dec 2018 16:46:43 +0100
Post by Dr.-Ing. Edgar Alwers via blfs-support
"CPFLAGS='-DU_USING_ICU_NAMESPACEE=1' make build-nocheck"
                                  ^^
I don't know if the above is the problem or if it's just an email
typo, but NAMESPACE is not spelled right.
No, sorry, this was only  an email typo. When compiling, I make copy and
drag from the book. And it compiled 90 min before the break !
Edgar
renodr via blfs-support
2018-12-04 16:31:15 UTC
Permalink
Post by Bruce Dubbs via blfs-support
Post by Dr.-Ing. Edgar Alwers via blfs-support
"CPFLAGS='-DU_USING_ICU_NAMESPACEE=1' make build-nocheck"
^^
I don't know if the above is the problem or if it's just an email
typo, but NAMESPACE is not spelled right.
No, sorry, this was only an email typo. When compiling, I make copy
and drag from the book. And it compiled 90 min before the break !
Edgar
Your error seems to come from sqlite3. Try recompiling it, and if you
wish - use the sqlite3 page in SVN. It might run better.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above informa
Ken Moffat via blfs-support
2018-12-04 16:37:51 UTC
Permalink
Post by Dr.-Ing. Edgar Alwers via blfs-support
Hi all,
I am trying to build LibreOffice 6.1.0 according to BLFS Book 8.3. I did
compile all required dependencies and all recommended ones, without
problems. Then I started with LibreOffice. The ./autogen.sh went also OK, no
errors, no warnings. Then I started the building itself with
"CPFLAGS='-DU_USING_ICU_NAMESPACEE=1' make build-nocheck"
and after aproximately 90 min the building process broke down with the
following error;
---------------------------
........... ( about 18 lines with undefined references  to sqlite3 )
/usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to
My own build on 8.3 went cleanly, but libsoftokn3.so comes from nss.

At that time I was using nss-3.38, but I've since updated nss twice
(for newer firefoxes).

It seems to me that something is wrong with your nss installation.
Are you using something linked to nss (firefox, seamonkey,
thunderbird are the likely suspects) ? If so, does it, or do they,
work ?

If the answer is no, reinstall nss.

ĸen
--
I'm saving up 22 shillings and 10 pence (almost a pound!) per week to
buy an ARM-13.
http://www.antipope.org/charlie/blog-static/2018/11/brexit-means-brexit.html
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Ken Moffat via blfs-support
2018-12-04 17:15:04 UTC
Permalink
Post by Ken Moffat via blfs-support
Post by Dr.-Ing. Edgar Alwers via blfs-support
/usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to
My own build on 8.3 went cleanly, but libsoftokn3.so comes from nss.
At that time I was using nss-3.38, but I've since updated nss twice
(for newer firefoxes).
It seems to me that something is wrong with your nss installation.
Are you using something linked to nss (firefox, seamonkey,
thunderbird are the likely suspects) ? If so, does it, or do they,
work ?
If the answer is no, reinstall nss.
Checking my 8.3 system: as well as libreoffice and the mozilla items
I mentioned, the falkon browser also uses nss (for https://).

If you have only built nss for libreoffice, review your nss
install. And perhaps check if libsqlite3.so has gone missing.
The only part of nss which links to sqlite is libsoftokn3.so.

ĸen
--
I'm saving up 22 shillings and 10 pence (almost a pound!) per week to
buy an ARM-13.
http://www.antipope.org/charlie/blog-static/2018/11/brexit-means-brexit.html
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscri
Dr.-Ing. Edgar Alwers via blfs-support
2018-12-05 21:14:06 UTC
Permalink
Post by Ken Moffat via blfs-support
If you have only built nss for libreoffice, review your nss
install.
Hi Ken,

thank you again for your valuable hint. The problem was, that I compiled
SQLite3 some few days _after_ I built  NSS ( the order of the factors
does not change the product, isn't it ?  :-(  ). Well, this way I had an
NSS without SQLite. And although  SQLite  is recommended in the book
instructions, NSS compiles !  And LibreOffice fails to do so.

It was clear my problem, especially as the instructions for nss are very
clear. Nevertheless, I think a  hint in the LibreOffice instructions
would be usefull. More or less: "You need to build nss with SQLite
included, as if not, the building of LibreOffice will fail."  This, for
example, as I did not need SQLite on my PC and so I had not the
intention of compiling it. But of course, I need LibreOffice, and voila,
the problem.

BTW: the pCloud system needs also nss.

Again, thank you very much for your help and thanks also to renodr and
to Bruce

Edgar
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See
Loading...