develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991111.003] problem

Thread Previous
From:
Andy Dougherty
Date:
November 14, 1999 07:35
Subject:
Re: [ID 19991111.003] problem
Message ID:
Pine.SOL.4.10.9911141020100.11220-100000@maxwell.phys.lafayette.edu
On Fri, 12 Nov 1999, Zhou Zhiyu wrote:

> I got a perl-5.005.03 . When I type Configure -d,
> the error infomation is :
> 
> ld.so.1: ./try: fatal: libgdbm.so.2: can't open file : errno=2
> killed
> The program compiled OK, but exited with status 137.
> (The supplied flags or libraries might be incorrect.)
> You have a problem. Shall I abort Configure [y]

> By the way, the OS is SunOS 5.5.1.

Hmm.  Do you have libdgbm.so in /usr/local/lib?  If so, perhaps you need
to set your LD_LIBRARY_PATH environment variable to include
/usr/local/lib before you run Configure.  Alternatively, perhaps you could
run Configure interactively and be sure that you include the appropriate
-L and -R flags to find libgdbm.so.

> I want to install as the regular user, but I first change the owner
> of /usr as the root. Where I should modify to install correctly?

If you want to install as a regular user, then you simply need to be sure
to specify a directory for which you have permission.  You can specify
this with    Configure -Dprefix=/usr/wherever  .  See the INSTALL file for
examples.  Unless I misunderstand what you are trying to do, you don't
need to chown /usr at all.

Hope this helps,

    Andy Dougherty		doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About