libgdiplus (2.10.9) Slackbuild fails
So I'm trying to compile this mono dependency and I'm having problems on Slackware64 14.1.
http://slackbuilds.org/repository/14...es/libgdiplus/ Code:
make[2]: Leaving directory `/tmp/SBo/libgdiplus-2.10.9/src' Code:
--- libgdiplus.SlackBuild 2014-12-27 12:39:07.360499783 -0600 |
perhaps you are running multilib?
Code:
/usr/lib64/libglib-2.0.so.0: could not read symbols: Invalid operation |
Not running multilib, it does the same thing on all my systems, only one of them has multilib and there is no difference.
|
can you check if you have x86 packages installed on your x86_64 machine?
i have just successfuly build libgdiplus on slackware64-14.1 VM Code:
libgdiplus: |
On my current machine I have no 32-bit packages and no 32-bit support enabled, the error also is not about 32-bit.
|
It builds fine here, and that patch does not do what you think it does.
When you set LIBS="$LIBS -lglib-2.0 -lX11", LIBS is a bash variable that is ignored by the Makefile. The Makefile ignores any environment variable named LIBS, but your bash variable is not even an environment variable. You probably wanted to say LDFLAGS instead of LIBS, and you should have put a backslash at the end of the line to make it an environment variable, and if you had done all that... it would have had the same effect as the sed command in the original SlackBuild. In fact, the sed command exists to solve your real problem, which is this classic "underlinking" error: Quote:
|
I think I found something relevant, if I unset LIBS, the slackbuild works. I set
Code:
export LIBS="-lm -ldl" Either way I don't like the quick fix in this slackbuild, a better fix is needed. |
All times are GMT -5. The time now is 12:47 PM. |