Error after installing DMD v2.063
Jonathan M Davis
jmdavisProg at gmx.com
Sun Jun 2 18:20:50 PDT 2013
On Sunday, June 02, 2013 18:12:06 Ellery Newcomer wrote:
> On 06/02/2013 05:47 PM, Jonathan M Davis wrote:
> > On Sunday, June 02, 2013 17:43:20 Ellery Newcomer wrote:
> >> On 06/02/2013 05:29 PM, Jonathan M Davis wrote:
> >>> On Sunday, June 02, 2013 17:24:47 Ellery Newcomer wrote:
> >>>> On 06/02/2013 05:15 PM, Jonathan M Davis wrote:
> >>>>> On Sunday, June 02, 2013 17:08:41 Walter Bright wrote:
> >>>>>
> >>>>> Regardless, the symlink issue alone shows that using the zip file
> >>>>> format
> >>>>> for *nix is a mistake. Any packages released for *nix needs to support
> >>>>> symlinks correctly.
> >>>>>
> >>>>> - Jonathan M Davis
> >>>>
> >>>> Is it so hard to convert the zip to tarball in the installer scripts?
> >>>>
> >>>> (hint: no)
> >>>
> >>> But unless the zip itself is fixed, then anyone downloading it is going
> >>> to
> >>> end up with a screwed up *nix setup unless they fix it themselves. It
> >>> would be far better to just fix the zip.
> >>>
> >>> - Jonathan M Davis
> >>
> >> wouldn't they have a screwed up setup with a tarball as well? They'd
> >> still need to fix $PATH and whatever you need to fix to make -lphobos2
> >> work.>
> > All you should have to do is set the PATH so that it has dmd in it.
> > Everything else should just work.
> >
> > - Jonathan M Davis
>
> Okay, so I unzip to /home/ellery/Downloads/dmd2, add
> ~/Downloads/dmd2/linux/bin64 to PATH, and try to build a shared library.
> At runtime, it gives me
>
> ./test1.x: error while loading shared libraries: libphobos2.so.0.63:
> cannot open shared object file: No such file or directory
>
> And I don't even remember how to fix this. You have to muck around with
> ldconfig, which requires root, or something. Maybe there is a way to
> make the compiler point the shared lib dependency to
> /home/ellery/Downloads/linux/lib64/libphobos2.so ? But yuck.
I don't believe that it's not an ldconfig problem. It's the fact that there's a
libphobos2.so and not a libphobos2.so.0.63. It's the exact same problem that
the rpm and deb files are having. dmd.conf already makes it so that the linker
looks in the right place.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list