Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: Deep Toaster on July 13, 2014, 06:26:43 pm
-
This is a bug that struck me twice in six months (after wiping my computer twice and having to install TilEm on it each time), and each time took me half an hour to work out the solution, so I thought I'd post some instructions in case someone else runs into the same bug as me.
If you're compiling TilEm on Linux (http://lpg.ticalc.org/prj_tilem/download.html) according to instructions (especially true for Ubuntu variants it seems) and run into an error "adding symbols: DSO missing from command line," edit the file tilem/gui/Makefile to replace the lineLIBS =
withLIBS = -lm
. Recompiling should work without errors (assuming you have all the dependencies installed).
Hopefully the maintainers can modify their source to get rid of this bug, but for now that workaround works for me.
-
It's interesting to see TilEm being hard to install on Linux successfully considering it used to be Linux-only O.O
-
Yeah, I think it's specific to newer versions of Ubuntu variants or something like that.
-
I've never had such issue on Arch using the pkgbuild provided in the AUR. So either Arch doesn't have the issue, or the pkgbuild has a patch.
-
I (ironically) had to solve this problem yesterday too (without internet). It does seem to be a fairly new issue, as I was able to compile it a while ago without problems, but it seems as if something changed in pkgbuild since the last time I compiled. I'm running Debian Jessie, the testing distro.
Another solution, which is very similar but (in my opinion) cleaner because it uses what the configure script already does:
LDFLAGS=-lm ./configure
-
Might be a Debian thing then (since Ubuntu is built on it).
Thanks for the tip. I'm not very familiar with gcc so my solution was more guess and check from random hints around the internet.
-
Yes, the "DSO missing from command line" appeared under Debian recently. I'm getting it all the time, usually it's either a missing LIBS flag, or the order of the flags is wrong.
I'm having another error with compiling tilem though. For some reasons it keeps telling me that it can't find libticalcs2 (which is of course installed), and tells me to add the path to ticalcs2.pc to PKG_CONFIG_PATH. Which I did (export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig), but that doesn't change anything. Any suggestions on how to fix this?
Edit: Nevermind. I still don't have a clue what went wrong, but the latest dist-upgrade fixed it.