Re: [gtk-osx-users] Newer macOS version (12.0) than being linked (11.0)
- From: John Ralls <jralls ceridwen us>
- To: Pascal <p p14 orange fr>
- Cc: Paul Emsley <pemsley mrc-lmb cam ac uk>, gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Newer macOS version (12.0) than being linked (11.0)
- Date: Thu, 30 Dec 2021 10:31:28 -0800
On Dec 30, 2021, at 10:21 AM, Pascal <p p14 orange fr> wrote:
Le 30 déc. 2021 à 17:57, Paul Emsley via gtk-osx-users-list <gtk-osx-users-list gnome org> a écrit :
On 30/12/2021 16:13, Pascal wrote:
Le 30 déc. 2021 à 14:43, Paul Emsley via gtk-osx-users-list <gtk-osx-users-list gnome org> a écrit :
On 30/12/2021 11:29, Pascal wrote:
Hello,
My configuration is macOS 12, I just built:
% jhbuild bootstrap-gtk-osx
% jhbuild build python3
% jhbuild build meta-gtk-osx-bootstrap
When I build my program I got a lot of:
ld: warning: dylib (/usr/local/xnadalib-2021/lib/libgtk-3.dylib) was built for newer macOS version
(12.0) than being linked (11.0)
It is not so clear.
What is this actually meaning?
This seems just to be a warning but my program shows some erroneous GTK executions.
How to deal with it?
NB : with GTK which was built when I was on macOS 11, I have no warning and no issue to build my
program on macOS 12.
Have you installed homebrew? If so, rename or remove it while compiling gtk-osx.
No Paul, I haven't.
OK, interesting. It seems that you do have something in /usr/local though - do you know what it is?
I found only CLI tools like BBEdit or OSXFuse.
I have MacPorts installed in /opt/local but not in PATH.
Should I delete XDG_CACHE_HOME folder before building GTK?
I don't know, sorry. My feeling is that you shouldn't need to do so.
When looking in environnement variables in jhbuild shell, I found:
[JH] % echo $MACOSX_DEPLOYMENT_TARGET
12
Should I specify 11 in calling setup_sdk in jhbuildrc-custom?
If so, I wonder: why the link message is issued as I have rebuilt all on macOS 12?
The link message is saying that whatever you're trying to link was compiled with macosx-version-min=11.0
while libgtk-3.dylib was compiled with macosx-version-min=12.0. Did you perhaps forget to reconfigure your
project after rebuilding everything else?
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]