-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No shared libraries in FreeBSD's tarball #11
Comments
Please post the |
I'm sorry, but I don't know where I can find the "config.log" file... |
I have one, will post it later. |
When you run You can get at it by running your build but then having it fail halfway through (e.g. putting a |
So yes, it looks like |
I made this patch diff --git a/build_tarballs.jl b/build_tarballs.jl
index 70fa38c..559a5f1 100644
--- a/build_tarballs.jl
+++ b/build_tarballs.jl
@@ -18,7 +18,7 @@ if [[ ${target} == *-w64-mingw* ]]; then
EXTRA_CONFIGURE_FLAGS="--sharedlibdir=${prefix}/bin"
EXTRA_MAKE_FLAGS="SHAREDLIB=libz.dll SHAREDLIBM=libz-1.dll SHAREDLIBV=libz-1.2.11.dll LDSHAREDLIBC= "
fi
-
+update_configure_scripts
./configure ${EXTRA_CONFIGURE_FLAGS} --prefix=${prefix}
make install ${EXTRA_MAKE_FLAGS} -j${nproc}
""" |
No docs, it's a utility script I wrote to try and do these kinds of things. You can see it here: https://github.com/JuliaPackaging/Yggdrasil/blob/master/Rootfs/bundled/utils/update_configure_scripts.sh Does it do anything? Does it replace the |
It does nothing, since there aren't |
https://github.com/bicycle1885/ZlibBuilder/releases/tag/v1.0.4 seems to include a valid libz.so file for FreeBSD. If you have time, can you try it a little bit? |
It works fine on my machine. Thanks! 👍 |
I don't know the reason, but #12 has somehow solved this problem. |
@iblis17 kindly reported me that FreeBSD's tarball lacks libz.so from the latest release of ZlibBuilder (v1.0.3). I found that it is included in an old release (v1.0.2).
I checked the log file (./logs/Zlib.log) included in the tarball of v1.0.3 and a sentence in it caught my eyes:
v1.0.3 of ZlibBuilder built the binaries using Julia 1.0.1 and BinaryBuilder.jl 0.1.2 (log on Travis CI: https://travis-ci.org/bicycle1885/ZlibBuilder/builds/447370299). I think this may possibly related to some bug of BinaryBuilder.jl. @staticfloat, do you have time to take a look a little?
The text was updated successfully, but these errors were encountered: