June 02, 2013 Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Hi, I get the following error while running a simple hello world program compiled with the new v2.063 compiler. This is on Ubuntu 12.04. error while loading shared libraries: libphobos2.so.0.63: cannot open shared object file: No such file or directory |
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | I've just run: sudo ln -s /usr/lib/x86_64-linux-gnu/libphobos2.so /usr/lib/x86_64-linux-gnu/libphobos2.so.0.63 for now but i've never had to do that before. Is this a problem with the installer? |
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Sunday, June 02, 2013 15:47:36 Gary Willoughby wrote:
> I've just run:
>
> sudo ln -s /usr/lib/x86_64-linux-gnu/libphobos2.so /usr/lib/x86_64-linux-gnu/libphobos2.so.0.63
>
> for now but i've never had to do that before. Is this a problem with the installer?
If you had to do that, then yes.
- Jonathan M Davis
|
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On 06/02/2013 06:47 AM, Gary Willoughby wrote: > I've just run: > > sudo ln -s /usr/lib/x86_64-linux-gnu/libphobos2.so > /usr/lib/x86_64-linux-gnu/libphobos2.so.0.63 > > for now but i've never had to do that before. Is this a problem with the > installer? same problem with rpm installer. http://d.puremagic.com/issues/show_bug.cgi?id=10245 |
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Attachments:
| On Sun, 2013-06-02 at 13:11 -0700, Jonathan M Davis wrote: > On Sunday, June 02, 2013 15:47:36 Gary Willoughby wrote: > > I've just run: > > > > sudo ln -s /usr/lib/x86_64-linux-gnu/libphobos2.so /usr/lib/x86_64-linux-gnu/libphobos2.so.0.63 > > > > for now but i've never had to do that before. Is this a problem with the installer? > > If you had to do that, then yes. I didn't have to do that on my Debian Unstable, but maybe I was lucky. However the structure: libphobos2.so the file libphobos2.so.0.63 a symbolic link to libphobos2.so is non-standard and not compliant. The standard structure should be: libphobos2.so.0.63 the file libphobos2.so.0 a symbolic link to libphobos2.so.0.63 libphobos2.so a symbolic link to libphobos2.so.0 -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On 06/02/2013 02:00 PM, Russel Winder wrote:
>
> is non-standard and not compliant. The standard structure should be:
>
> libphobos2.so.0.63 the file
> libphobos2.so.0 a symbolic link to libphobos2.so.0.63
> libphobos2.so a symbolic link to libphobos2.so.0
>
>
what is libphobos2.0
?
|
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
On Sunday, June 02, 2013 22:00:43 Russel Winder wrote:
> On Sun, 2013-06-02 at 13:11 -0700, Jonathan M Davis wrote:
> > On Sunday, June 02, 2013 15:47:36 Gary Willoughby wrote:
> > > I've just run:
> > >
> > > sudo ln -s /usr/lib/x86_64-linux-gnu/libphobos2.so /usr/lib/x86_64-linux-gnu/libphobos2.so.0.63
> > >
> > > for now but i've never had to do that before. Is this a problem with the installer?
> >
> > If you had to do that, then yes.
>
> I didn't have to do that on my Debian Unstable, but maybe I was lucky. However the structure:
>
> libphobos2.so the file
> libphobos2.so.0.63 a symbolic link to libphobos2.so
>
> is non-standard and not compliant. The standard structure should be:
>
> libphobos2.so.0.63 the file
> libphobos2.so.0 a symbolic link to libphobos2.so.0.63
> libphobos2.so a symbolic link to libphobos2.so.0
Create a bug report for it. I don't think that Walter realizes what's standard. And this whole problem probably stems from the fact that he can't put symlinks in the zip file that he generates, so he was talking about making it up to the maintainers to create the various symlinks, which IMHO is unacceptable long term, but it seems to require either changing the main release from a zip to something like 7zip or breaking it up per OS like a number of people have been asking for for ages. Regardless, the fact that the installer and rpm and whatnot are broken is unacceptable.
- Jonathan M Davis
|
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | On 06/02/2013 02:20 PM, Jonathan M Davis wrote:
> he was talking about making
> it up to the maintainers to create the various symlinks, which IMHO is
> unacceptable long term
why?
|
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | W dniu 02.06.2013 15:05, Gary Willoughby pisze:
> Hi,
>
> I get the following error while running a simple hello world program
> compiled with the new v2.063 compiler. This is on Ubuntu 12.04.
>
> error while loading shared libraries: libphobos2.so.0.63: cannot open
> shared object file: No such file or directory
I have installed 2.063 version on Ubuntu 12.10 without problems. I was using downloaded .deb file which updated older apt-get installed version 2.062. So, at least on Ubuntu 12.10 it's working properly.
|
June 02, 2013 Re: Error after installing DMD v2.063 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | On Sunday, June 02, 2013 14:29:39 Ellery Newcomer wrote:
> On 06/02/2013 02:20 PM, Jonathan M Davis wrote:
> > he was talking about making
> > it up to the maintainers to create the various symlinks, which IMHO is
> > unacceptable long term
>
> why?
Because of the problems of zip with symlinks. He would have to change how they're created (and probably not use zip at all) in order to fix the problem, and apparently, he wasn't willing to do that for this release. That doesn't mean that the problem can't or won't be fixed for the next release, but it required too many changes to how Walter normally functions for him to be willing to do it correctly for this release.
Nick Sabalausky was looking at fixing up how the zip files are generated for Walter so that they we have separate packages for each OS, and if sorts that out, then I'm sure that the symlink issue can and will be sorted out. I believe that the push is to fully automate generating the release packages (probably using the autotester), but it pretty much requires folks other than Walter making those changes, since he doesn't change his habits and procedures with regards to this sort of thing very easily.
- Jonathan M Davis
|
Copyright © 1999-2021 by the D Language Foundation