On Thu, 23 Jan 2014 12:56:23 +0100, Florian Paul Schmidt wrote
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry for the duplicate...
On 23.01.2014 11:54, Florian Paul Schmidt wrote:
My C++-11 is rather weak though (I used this
project to get into
some of the new features), so it might be a bug in my code..
I'm pretty sure now, that this error is due to your compiler being
too old :(
That's a rather harsh way of formulating that. Iff your code is
written in C++11 you might as well tell us. (It might even be
a good idea to change your compiler flags from -std=c++0x to
-std=c++11, but that would exclude g++-4.6 wich seems to have no
problems with your code).
While the code compiles fine here, I can't start the program:
./teqqer example.teq
Traceback (most recent call last):
File "teqqer.py", line 5, in <module>
import teq
ImportError: /usr/local/src/teqqer/teq/build/teq.so: undefined symbol:
_ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
Hmm, looking at the lib:
ralf@flaptop:/usr/local/src/teqqer$ ldd /usr/local/src/teqqer/teq/build/teq.so
linux-vdso.so.1 (0x00007fff2dce6000)
libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f7322853000)
---> libteq.so => not found
libpython3.3m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0
(0x00007f7322239000)
libboost_python-py27.so.1.53.0 => /usr/lib/libboost_python-py27.so.1.53.0
(0x00007f7321feb000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7321ce8000)
.....
What to do?
Cheers, Ralf Mattes