November 03, 2013 Re: Undefined reference to _d_throw | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve Teale | On 02/11/13 21:12, Steve Teale wrote: > The opposite way round it links OK, bu there's still something strange going on. When I try to run it, it fails with: > > ./compo: error while loading shared libraries: libphobos2.so.0.2: cannot open shared object file: No such file or directory > > This is true, there is no such file. In /usr/lib/i386-linux-gnu there's only libphobos2.so - a real file - which in my understanding should be a link to an actual shared library file. > > Is there a working shared Phobos library in 2.063, or is this a .deb file error. If I have /usr/lib/i386-linux-gnu/libphobos.a instead of phobos2, the program links and at least attempts to run. It may crash later, but that's my fault. > > This is not just a CodeBlocks thing. I made a simple makefile instead that links the libraries in the right order. That links, but also fails with the missing Phobos shared library error. > Yes, this is a .deb error for 2.063.2, which will be fixed on next release. There are fixed deb packages for the current version at http://d-apt.sourceforge.net/ -- Jordi Sayol |
Copyright © 1999-2021 by the D Language Foundation