Author Topic: OO 4.1.11 trouble  (Read 6940 times)

Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +4/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #15 on: March 17, 2025, 10:24:15 am »
Reinstalled and rebooted, still the same problems.

config.sys:

LIBPATH=.;G:\usr\local\lib;G:\usr\lib;G:\usr\bin;

and libcn0.dll is in g:\usr\lib


Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +4/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #16 on: March 17, 2025, 12:03:31 pm »
Just noticed that the installed libstdc++ was for for i686 so I replaced it with the pentium4 version.
Still OO will not start.

Then I downgraded libxml2 to version 2.9.10-3
OO now starts but crashes when trying to open an existing spreadsheet.

This time a trap file was created, copy attached.

Andi B.

  • Hero Member
  • *****
  • Posts: 908
  • Karma: +16/-2
    • View Profile
Re: OO 4.1.11 trouble
« Reply #17 on: March 17, 2025, 03:24:43 pm »
Quote
LIBPATH=.;G:\usr\local\lib;G:\usr\lib;G:\usr\bin;
Usually I suggest putting the '.;' at the end of this line. Or at least after the x:\usr\xxx entries. This would avoid loading old/wrong/special/... dlls from outside the somehow 'maintained' versions (by ANPM/yum/rpm) at the default locations. And will reduce the risk of using 'wrong' dlls a lot I think.

Imaging you've an old program which an old dll in it's own path and you load it at system start. From startup folder or tcpexit.cmd or startup.cmd or.... Then this program would load the 'wrong' dll into memory. All programs started afterwards have to use this 'wrong' dll cause it's already loaded in memory. Until the program (all programs which use the 'wrong' dll) are closed or you cheat the system with libpathstrict and beginlibpath.

Maybe you wanna test this.

Edit - there was a time when I have to yum downgrade icuxxx (?) to let AOO run. But I think this was well before 4.1.11.
Edit2 - you've assured that you don't run the AOO quickstart from an older version?
« Last Edit: March 17, 2025, 03:27:27 pm by Andi B. »

Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +4/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #18 on: March 17, 2025, 07:16:20 pm »
Tried putting the ".;" at the end of the line and also right after x:\usr\xxx entries, still the same problem.

OpenOffice was working fine until I updated various libraries with ANPM.

Does anyone have a list of dll-versions that work well with AOO 4.1.11?
According to the readme these are involved:
libc libgcc1 libgcc-fwd openssl curl libjpeg libxslt libicu zlib libxml2 mmap pthread urpo libstdc++6 libstdc++ uclip ft2lib expat hunspell

Pete

  • Hero Member
  • *****
  • Posts: 1394
  • Karma: +13/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #19 on: March 17, 2025, 09:01:42 pm »
Hi Per

You have not yet stated which versions of libssh2 and libcurl are involved.


Regards

Pete

David McKenna

  • Hero Member
  • *****
  • Posts: 865
  • Karma: +30/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #20 on: March 17, 2025, 09:02:16 pm »
Hi Per,

  I had a look at your trap file, and near the bottom in the 'DLL's accessable from this process' section the tale is told: you have 2 versions of libcn0.dll loaded, one in G:\usr\lib (the correct one) and one in P:\OPENOFFICE\PROGRAM (an older one). Not sure how the 2nd one got there, but I notice there are several other duplicates in those same 2 directories (like libcx0.dll, pthr01.dll, icudt.dll, gcc1.dll) some of which are the same version, but not all. Best to get rid of the ones in P:\OPENOFFICE|PROGRAM (I do not have any of those there on my system). Might be easiest to delete P:\OPENOFFOCE and re-install OpenOffice from scratch.

  I also notice that none of the OpenOffice DLL's are loaded high - once OpenOffice is installed, go to the 'Apache OpenOffice' folder, then the 'Extras' folder, then run 'Enable High Mem Code Loading' and reboot to get OpenOffice out of your low memory.

HTH,

Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +4/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #21 on: March 17, 2025, 11:23:14 pm »
Thanks guys, David spotted the duplicates in the trap file, I totally missed that.
After getting rid of duplicates in x:\openoffice\program it seems that AOO is now working again.
Suspect that those dll's in the program folder were put there when I installed OpenOffice, I think it is those that were packed in a "wpi" file.
Weird or pure luck that I haven't run into problems before because I've been running with duplicates for quite a while.

Since things have been running smoothly on this system I haven't really had the need to load DLL's high, but there has been a couple of
incidents that I think was caused by running out of low memory. Will give it a try.



Heikki Kekki

  • Newbie
  • *
  • Posts: 27
  • Karma: +1/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #22 on: March 18, 2025, 09:53:49 am »
  I had a look at your trap file, and near the bottom in the 'DLL's accessable from this process' section the tale is told: you have 2 versions of libcn0.dll loaded, one in G:\usr\lib (the correct one) and one in P:\OPENOFFICE\PROGRAM (an older one). Not sure how the 2nd one got there, but I notice there are several other duplicates in those same 2 directories (like libcx0.dll, pthr01.dll, icudt.dll, gcc1.dll) some of which are the same version, but not all. Best to get rid of the ones in P:\OPENOFFICE|PROGRAM (I do not have any of those there on my system). Might be easiest to delete P:\OPENOFFOCE and re-install OpenOffice from scratch.
I have working Apache OpenOffice 4.1.11 and I have those dll in G:\Programs\ApacheOpenOffice\program\ directory. I renamed previous version directory, so those dll are from AOO-41110-GA-base-en-US.wpi package.

26.08.21  16.27          59 049      0   ___A_  libcx0.dll
Code: [Select]
{0}[g:\programs\apacheopenoffice\program] bldlevel libcx0.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#bww bitwise works GmbH:0.7#@##1## 2021-08-26 17:27:27     ovator::::2::@@kLIBC
Extension Library
Vendor:          bww bitwise works GmbH
Revision:        0.07
Date/Time:       2021-08-26 17:27:27
Build Machine:   novator
File Version:    0.7.2
Description:     kLIBC Extension Library
12.05.23  20.59          59 040    124   ___A_  libcx0.dll
Code: [Select]
{0}[d:\usr\lib] bldlevel libcx0.dll
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#bww bitwise works GmbH:0.7#@##1## 2023-05-12 20:59:28      novator::::3::@@kLIBC
Extension Library
Vendor:          bww bitwise works GmbH
Revision:        0.07
Date/Time:       2023-05-12 20:59:28
Build Machine:   novator
File Version:    0.7.3
Description:     kLIBC Extension Library

David McKenna

  • Hero Member
  • *****
  • Posts: 865
  • Karma: +30/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #23 on: March 18, 2025, 11:00:10 am »
 Glad you got it working, Per! Strange... I don't have those files in my install of AOO 4.1.11. Could it be the installer checks for those files on the drive it is being installed to (mine is on the %UNIXROOT% drive) and installs them if not found?

Regards,

Lars

  • Hero Member
  • *****
  • Posts: 1408
  • Karma: +71/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #24 on: March 18, 2025, 12:23:44 pm »
use the listing feature of wic.exe to find out if these DLLs are in "AOO-41110-GA-base-en-US.wpi" or not.
If yes and if they are in a separated package, then you can either uninstall it or not install in the first place.
I am still running AOO 4.1.2 and none of these files have ever been installed to any of the AOO subdirectories.
« Last Edit: March 18, 2025, 12:26:55 pm by Lars »

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1113
  • Karma: +29/-0
    • View Profile
    • Blonde Guy
Re: OO 4.1.11 trouble
« Reply #25 on: March 18, 2025, 02:15:15 pm »
The extra DLLs are likely from AOO-41110-GA-rpm.wpi, which is distributed by BitWise for people who don't use rpm/yum.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +4/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #26 on: March 18, 2025, 02:17:46 pm »
The DLL's are not in the the "base.wpi" but in AOO-41110-GA-rpm.wpi

From the "read1st.txt":

   Download the AOO-41110-GA-rpm.wpi before you start the installation.
   This WPI is not installable. It's just a helper WPI which can be installed from
   the main Apache OpenOffice WPI. This WPI *must* reside in the same directory
   where the Apache OpenOffice WPI resides before installation.

Attached a listing of DLL's included in the package.

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1113
  • Karma: +29/-0
    • View Profile
    • Blonde Guy
Re: OO 4.1.11 trouble
« Reply #27 on: March 20, 2025, 02:16:14 pm »
I wonder if you can uninstall them with WarpIN? They were only there for users who don't have rpm/yum.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +4/-0
    • View Profile
Re: OO 4.1.11 trouble
« Reply #28 on: March 20, 2025, 03:39:06 pm »
I already removed them manually but you're probably right.
The package is listed with all the DLL's in WarpIN Database.