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

A Problem during Compilation #118

Closed
p5pRT opened this issue Jun 27, 1999 · 1 comment
Closed

A Problem during Compilation #118

p5pRT opened this issue Jun 27, 1999 · 1 comment

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Jun 27, 1999

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

Searchable as RT922$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jun 27, 1999

From s_raj@hotmail.com

I am Rajesh writing from QuestAm,
I faced a compilation error during the installation of Perl 5.005.02.
I am using gcc compiler.
When I ran
sh Configure from the directory in which Configure was present,
the following error occured.
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run a simple program with​:

  gcc -O -o try -L/usr/local/lib try.c -lsocket -lnsl -ldbm -lmalloc
-ldl -lld -lm -lc -lcrypt -lucb
  ./try

and I got the following output​:

/usr/gcc/H-sparc-sun-solaris2/lib/gcc-lib/sparc-sun-solaris2/2.7-96q3/../../../../sparc-sun-solaris2/bin/ld​:
cannot open -ldbm​: No such file or directory
collect2​: ld returned 1 exit status
I can't compile the test program.
(The supplied flags might be incorrect with this C compiler.)

I am not what flags I should give.
I would be grateful if I can get a solution as soon as possible.

Thanks in advance
Rajesh

______________________________________________________
Get Your Private, Free Email at http​://www.hotmail.com

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

Successfully merging a pull request may close this issue.

None yet
1 participant