Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem #842

Closed
p5pRT opened this issue Nov 11, 1999 · 2 comments
Closed

problem #842

p5pRT opened this issue Nov 11, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 11, 1999

Migrated from rt.perl.org#1770 (status was 'resolved')

Searchable as RT1770$

@p5pRT
Copy link
Author

p5pRT commented Nov 11, 1999

From zzy@water.chpc.ict.ac.cn

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]
Ok. Stopping Configure.

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?
By the way, the OS is SunOS 5.5.1.

Sincerely,
Zhiyu Zhou

@p5pRT
Copy link
Author

p5pRT commented Nov 14, 1999

From @doughera88

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant