16
General / Re: Mac Users: Unofficial Mac Package 2.3.0-13
« on: December 15, 2017, 01:08:33 AM »
A user reported back that there are problems with this build:
dyld: Library not loaded: /usr/local/opt/sfml/lib/libsfml-graphics.2.4.dylib
Referenced from: Attract.app/Contents/MacOS/./attract
Reason: image not found
This might mean that the application does not use the libraries in the package, but the ones under /usr/local/opt/, which I use for compiling.
So the package still is not ready for prime time.
In the create-pkg.sh, there is this section that shall link the libraries into the bundle - this and the bundlelibs.py script does not seem to work correctly:
# Copy extra libs to bundle and fix link path
pushd "${APPCONTENT}"/MacOS >/dev/null
${SCRIPT_PATH}/bundlelibs.py attract
popd >/dev/null
dyld: Library not loaded: /usr/local/opt/sfml/lib/libsfml-graphics.2.4.dylib
Referenced from: Attract.app/Contents/MacOS/./attract
Reason: image not found
This might mean that the application does not use the libraries in the package, but the ones under /usr/local/opt/, which I use for compiling.
So the package still is not ready for prime time.
In the create-pkg.sh, there is this section that shall link the libraries into the bundle - this and the bundlelibs.py script does not seem to work correctly:
# Copy extra libs to bundle and fix link path
pushd "${APPCONTENT}"/MacOS >/dev/null
${SCRIPT_PATH}/bundlelibs.py attract
popd >/dev/null