Subject: Re: Perlcc
To: Lloyd I Freese Jr <dwarf@Op.Net>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 03/24/2000 15:33:03
On Fri, 24 Mar 2000, Lloyd I Freese Jr wrote:

> I have a odd problem that I'm hoping you guys can help with. I'm 
> trying to use perlcc from perl-5.00503. Perlcc runs fine. It's the 
> binary it makes that's giving me a problem. Every time I run a 
> program that perlcc compiled I get:
> "/usr/libexec/ld.so: foo: libperl.so.5.3: No such file or directory"
> Then I get dumped back to the prompt.
> (foo being the name of the program)
> 
> I did a little snooping around and found that /usr/libexec/ld.so is 
> there and libperl.so.5.3 is in the 
> /usr/pkg/lib/perl5/5.00503/m68k-netbsd/CORE directory. I'm lost.

"ld.so" doesn't know to look there. You should set the environment
variable LD_LIBRARY_PATH to the fullpath to the CORE directory. You
could, alternatively, set it system-wide by adding it to the list in
/etc/ld.so.conf. Any user can view the current hashlist with "ldconfig -r".