Error after installing DMD v2.063

Ellery Newcomer ellery-newcomer at utulsa.edu
Sun Jun 2 18:12:06 PDT 2013


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.


More information about the Digitalmars-d mailing list