[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with the GNUStep packages in FreebSD?
From: |
Wolfgang Lux |
Subject: |
Re: Problem with the GNUStep packages in FreebSD? |
Date: |
Sun, 14 Mar 2021 13:23:18 +0100 |
Hi Edwin,
I'm not a FreeBSD expert, but from the error messages it looks like you've
accidentally uninstalled the gnustep-gui library. I guess something like
pkg install gnustep-gui
should fix this.
Maybe the problem is a bit deeper, though, and the upgrade from FreeBSD 12.1 to
12.2 has removed some libraries that gnustep-gui depends upon (directly or
indirectly). In that case, presumably uninstalling the gnustep packages and
starting over again is your best option.
Wolfgang
> Am 13.03.2021 um 22:31 schrieb Edwin Ancaer <eancaer@gmail.com>:
>
> Hello,
>
> forgot to add the generated link command. Can there be a problem with the
> options?:
>
> cc -L/usr/local/lib -fstack-protector-strong -rdynamic -rdynamic -rdynamic
> -rdynamic -fuse-ld= -pthread -fexceptions -fobjc-runtime=gnustep-1.8
> -fblocks -o Gorm.app/./Gorm \
> ./obj/Gorm.obj/Gorm.m.o ./obj/Gorm.obj/main.m.o -LGormLib/./obj
> -LGormObjCHeaderParser/./obj -LGormPrefs/./obj -LGormCore/./obj
> -LGormLib/./obj -LGormObjCHeaderParser/./obj -LGormPrefs/./obj
> -LGormCore/./obj -LGormLib/./obj -LGormObjCHeaderParser/./obj
> -LGormPrefs/./obj -LGormCore/./obj -LGormLib/./obj
> -LGormObjCHeaderParser/./obj -LGormPrefs/./obj -LGormCore/./obj
> -L/usr/ports/devel/gorm/work/GNUstep/Library/Libraries
> -L/usr/local/GNUstep/Local/Library/Libraries
> -L/usr/local/GNUstep/System/Library/Libraries -L/usr/local/lib -lGormCore
> -lGorm -lGormObjCHeaderParser -lGormPrefs -lgnustep-gui -lgnustep-base
> -lobjc -fobjc-nonfragile-abi -lm
> ld: error: undefined symbol: __objc_class_name_NSDocumentController
> >>> referenced by Gorm.m
> >>>
> >>> ./obj/Gorm.obj/Gorm.m.o:(__objc_class_ref_NSDocumentController)
>
> ld: error: undefined symbol: __objc_class_name_NSNotificationCenter
> >>> referenced by Gorm.m
> >>>
> >>> ./obj/Gorm.obj/Gorm.m.o:(__objc_class_ref_NSNotificationCenter)
>
> ld: error: undefined symbol: __objc_class_name_NSDistributedNotificationCenter
> >>> referenced by Gorm.m
> >>>
> >>> ./obj/Gorm.obj/Gorm.m.o:(__objc_class_ref_NSDistributedNotificationCenter)
>
> Kind regards,
>
> Edwin Ancaer...
> ...
>
>
>
> Op ma 8 mrt. 2021 om 20:34 schreef Edwin Ancaer <eancaer@gmail.com>:
> Hello,
>
> it seems I caused a catastrophy in the gnustep packages while upgrading
> FreeBSD from 12.1 to FreeBSD 12 .2.
>
> 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"
> $
>
> I thought this would be easily repaired by reinstalling the packages. But:
>
> $ sudo pkg install GNUMail
> Password:
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> Updating database digests format: 100%
> pkg: No packages available to install matching 'GNUMail' have been found in
> the repositories
> OK, no packages. Can this be due to the fact that building the packages from
> source is also failing:
>
> OK, a rebuild from source then.
> But as example with ProjectCenter the make install ends with:
>
> 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
> ld: error: too many errors emitted, stopping now (use -error-limit=0 to see
> all errors)
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> gmake[4]: ***
> [/usr/local/GNUstep/System/Library/Makefiles/Instance/application.make:133:
> ProjectCenter.app/./ProjectCenter] Error 1
> *;
>
> Is there something obvious that I did not see?
>
> Thanks a lot,
>
> Edwin Ancaer.