Riccardo, Wolfgang,

thanks for having a look. I think that for the packages, everything is not
ok, but explainable.
Before the upgrade, the system was still with the previous version of
gnustep.
I don't know what went wrong during the upgrade, but after upgrading, wheb
I tested with 5 packages that I 'frequently' use, ProjectCenter, Gorm,
GNUMail, SimpleAgenda  GWorkspace
I found the following result:
gorm, gorkspace packages worked immediatly after the update (). With pkg
info, I get:
libgnustep-gui.so.0.28
 libgnustep-base.so.1.27
           libobjc.so.4.6

simpleagenda, projectcenter and gnumail gave an error
ld-elf.so.1: Shared object "libgnustep-gui.so.0.27" not found, required by
"GNUMail"

I could install SimpleAgenda with pkg install, and that one is also OK
Shared Libs required:
        libgnustep-base.so.1.27
        libgnustep-gui.so.0.28
        libuuid.so.1
        libical.so.3pkg: No package(s) matching gnumail
        libobjc.so.4.6

ProjctCenter and GNUMail seem to have disappeared as package, so no pkg
info there. As it is the old application


I have the current versions of libgnuste-gui and libgnustep-base in
/usr/local/GNUstep/System/Library/Libraries, and the packages can be
reinstalled if necessary. I don't know why some packages disappeared.

But then, I get a linker error while bulding from the ports, and I get that
for all applications, also Gorm / GWorkspace, where the package installs ok.
As Wolfgang indicated  this could be due to a wrong version of
tlibgnustep-gui.

When I ran   nm -D libgnustep-gui.so, I did not find any of the undefined
references, but I must admit that here, I'm argely out of my comfort zone,
so it could be a normal situation.

d: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSArray
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSException
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSMutableArray
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSWorkspace
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSAssertionHandler
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSMutableString
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSCharacterSet
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSFileHandle
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSOpenPanel
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSSavePanel
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSBox
ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so:
undefined reference to __objc_class_name_NSPopUpButton

What makes it worse is that Eclipse and Java survived the upgrade 🙁

Could it be a problem with -fobjc-runtime=gnustep-1.8 in the
link-statement. Shouldn't that have been 2.0 by now?


Edwin




Op ma 15 mrt. 2021 om 08:56 schreef Riccardo Mottola <
[email protected]>:

> Hi Edwin,
>
> a foreword, the 12.1 -> 12.2 upgrade on FreeBSD was a painful for me.
> Although a minor release, it broke compatibility with many packages,
> especially with C++. I don't know what they changed, but they did
> upgrade "too much" for a minor release in my opinion.
> Right now things have stabilized in ports, but e.g I still am unable to
> compile SeaMonkey, or ArcticFox compiles but does not install or
> crashes, while it does work on 12.1.
>
> Edwin Ancaer wrote:
> > When I execute the existing applications (eg. GNUMail), I see the
> > error message:
> > $ openapp GNUMail
> > ld-elf.so.1: Shared object "libgnustep-gui.so.0.27" not found,
> > required by "GNUMail"
> > $
> >
>
> This means gui is not found in the correct version for GNUMail. Does
> this happen with all apps?
>
> please check with "pkg info" if gnustep packages are installed and which
> base, gui, back  do you have.
> Also, try to locate libgnustep-gui on disk.
> Maybe during upgrade gui was uninstalled and/or not upgraded?
> Or instead, for some reason GNUMail was just not updated on your system,
> try removing it and reinstalling it!
>
> Another thing could be that you now have gui 0.28, but the applications
> still look for the old version, perhaps they packages were not correctly
> rebuilt with a gui release. 0.27 is old, from 2019, while 2020 release
> was 0.28
>
> Riccardo
>
>
>

Reply via email to