[MacPorts] #64089: qt6 @6.2.1 (aqua) : rpath issue on Qt libraries?
MacPorts
noreply at macports.org
Tue Nov 30 10:28:15 UTC 2021
#64089: qt6 @6.2.1 (aqua) : rpath issue on Qt libraries?
---------------------+--------------------
Reporter: sa35 | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port:
---------------------+--------------------
Hi,
so far I have used the qt5 port for my qt applications and it just works
fine. I wanted now to test the qt6 version but was running into the issue
that at execution my application complained that the need libraries are
not found (e.g. QtNetwork). Hence I compared the difference betweem
qt5/qt6
{{{
$ otool -D QtNetwork
QtNetwork:
/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork
$otool -D QtNetwork
QtNetwork:
@rpath/QtNetwork.framework/Versions/A/QtNetwork
}}}
I.e. qt5 has absolut path, whereas qt6 uses rpath.
Question: Is this a feature or a bug?
--
Ticket URL: <https://trac.macports.org/ticket/64089>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list